0
What is the Value types ? And differences between the Value type's and DataTypes?
Plz answer to my question
4 Respuestas
+ 2
Variable is a name of memory location.
three types : local, instance and static.
two types of datatypes :
primitive and non-primitive.
0
class A{
int data=50;//instance variable
static int m=100;//static variable
void method()
{ int n=90;//localvariable
}
}
0
primitive dataype:
Boolean and numerals
non primitive :
string, array, etc
0
What does value type means ? Are value type and data type refers the same ?