Should I use primitives in Java?

Instead of create variables using new, Java can use primitive types to create automatic variables that are not references . The variables hold the value, and it’s place on the stack so its much more efficient.16 Tem 2017

Sizin İçin Seçtik  What is the difference between primitive and reference type in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *