Data Type In java

Java is statically typed languages all variables must be declared in specific data types two data types: primitive non prmitive Prmitive data type: boolean,char,int,long,double,float,byte,short Non primitive data type: most of the non primtive data type class String Array Objects Interface

Apr 19, 2025 - 08:53
 0
Data Type In java

Java is statically typed languages
all variables must be declared in specific data types

two data types:
primitive
non prmitive

Prmitive data type:
boolean,char,int,long,double,float,byte,short
Non primitive data type:
most of the non primtive data type class
String
Array
Objects
Interface