what is difference between class and object?
Answer Posted / zishan shaukat
I think class is a room full of tables and chairs with n
number of students sitting inside it and a teacher teaching
them something on the blackboard.
Wheras individual commodities like table ,chair blackboard
chalk pen and paper are objects.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is thread safe singleton?
What is Applet Stub Interface ?
What does a method signature consist of?
What is the difference between stream and buffer?
How does multithreading take place on a computer with a single cpu?
What is java util function?
What does += mean coding?
What do you mean by stream pipelining in java 8?
Why are the objects immutable in java?
What is void in java?
Can we override the static method?
What is meant by vector class, dictionary class, hash table class, and property class?
What is an object's lock and which object's have locks in java programming?
Describe 2 different ways to concatenate two strings.
Which collection is thread safe in java?