+ 4

What is class and object in Java?

Give me a suitable answer.

20th Aug 2017, 3:27 AM
mohit verma
mohit verma - avatar
3 odpowiedzi
+ 4
@Serena Yvonne, very well explained, and crystal clear answer, couldn't do better, standing down.
20th Aug 2017, 5:09 AM
Ipang
+ 4
serena great answer!!
10th May 2018, 12:30 AM
‎‏‎‏‎Joe
‎‏‎‏‎Joe - avatar
+ 3
conceptually, Class :- is like a bucket/mould you fill sand/wax into, to make a mould of. Object :- is fill sand/wax into bucket and turn it upside down to create a sand-castle. create many such objects using the same mould. You can create many objects using the same class. Like moulds, you can alter classes a little bit and create a new class. With the new class, you can create new objects.
27th Aug 2017, 8:38 AM
Uday Choudhary