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  Which is the best programming language in today's world?

Leave a Reply

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