what is mean by data type give the classification of data type also brief size in range of data type
Answers
Answered by
1
Data types are means to identify the type of data and associated operations of handling it. Java offers two types of datatypes.
1. Primitive data type:- These are in-built datatype offered by the compiler. Java supports 8 primitive datatypes e.g. byte,short,int,short,long,boolean,char etc.
2. Reference datatype:- These are constructed by using Primitive datatypes,as per user need. Reference datatype store the memory address of an object. Class,Interface and Array are examples of reference data types.
Similar questions