What are primitive types and reference types in Java?

Types in Java are divided into two categories—primitive types and reference types. The primitive types are boolean , byte , char , short , int , long , float and double . All other types are reference types, so classes, which specify the types of objects, are reference types.

Sizin İçin Seçtik  Dent Wireless hangi ülkenin?

Leave a Reply

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