What is the Value types ? And differences between the Value type's and DataTypes? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the Value types ? And differences between the Value type's and DataTypes?

Plz answer to my question

25th Sep 2016, 3:43 AM
V RAMESH RAJU
V RAMESH RAJU - avatar
4 Answers
+ 2
Variable is a name of memory location. three types : local, instance and static. two types of datatypes : primitive and non-primitive.
25th Sep 2016, 4:21 AM
preet
preet - avatar
0
class A{ int data=50;//instance variable static int m=100;//static variable void method() { int n=90;//localvariable } }
25th Sep 2016, 4:24 AM
preet
preet - avatar
0
primitive dataype: Boolean and numerals non primitive : string, array, etc
25th Sep 2016, 4:27 AM
preet
preet - avatar
0
What does value type means ? Are value type and data type refers the same ?
25th Sep 2016, 5:02 PM
Nantha kumar .R
Nantha kumar .R - avatar