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
Explain what pure virtual function is?
Can variables be used in java without initialization?
Are primitives objects?
What are the different conditional statements?
Explain how to force the garbage collection in java.
What is a priority queue java?
How is java hashmap implemented?
Can we instantiate interface in java?
What are the features in java?
What is square root in java?
How do I stop concurrentmodificationexception?
What is the difference between class & structure?
How do you calculate square roots?
How do you sort in java?
Why do people says “java is robust”?