0
How many kinds of variables are in Java?
6 ответов
+ 8
Variable is name of reserved area allocated in memory.
There are three types of variables in java:
local variable
instance variable
static variable
Also in java, there are two types of data types:
primitive data types
non-primitive data types
Data Type & default size:
boolean 1 bit
char 2 byte
byte 1 byte
short 2 byte
int 4 byte
long 8 byte
float 4 byte
double 8 byte
0
There are alot of them just search on google "java all variable types" and you will find them all!
0
Are you asking datatypes?
0
are you asking for variable or datatype?
0
variable is a number whose value doesn't remain same.
0
actually its data type
because on the base of this data type you can define different variable
thank u :-)