What is difference between Class and Object in java ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is difference between Class and Object in java ?

9th Jul 2016, 9:15 AM
Vinod Luhar
3 Answers
+ 4
a class is the definition of object. class define the attributes and behaviour of the object . attributes are variable and behaviour are methods defined within the class
9th Jul 2016, 9:51 AM
Ashhar Mohd
Ashhar Mohd - avatar
0
A class is a blueprint for an object. An object is an instance of the class.
9th Jul 2016, 10:12 AM
seraphimx
seraphimx - avatar
- 1
thanks bro and like question please
9th Jul 2016, 10:15 AM
Vinod Luhar