What are the types of fields in Java?

A field may be either of primitive or reference type. There are eight primitive types: boolean , byte , short , int , long , char , float , and double . A reference type is anything that is a direct or indirect subclass of java.

Sizin İçin Seçtik  What is meant by middleware in node JS?

Leave a Reply

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