what is difference between class and object?
Answer Posted / akhandam revathi
CLASSES- A class is a collection of objects of similar
type. Ex:mango,apple and orange are members of the class
fruit.
OBJECTS- An object is an abstract representation of a real
world entity that has a unique identity,embedded properties
and the ability to interact with each other.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is vector capacity in java?
How do you create an array in java?
What are recursive functions? Give some examples?
What is a parameter used for?
Give us the name of the list layoutmanagers in java?
How does thread synchronization occurs inside a monitor?
How do you ensure that n threads can access n resources without deadlock?
Explain the difference between map and flatmap stream operation?
What is difference between static and abstract class?
What are the types of methods in java?
How does java pattern compile work?
What is Java Reflection API? Why it’s so important to have?
What is the function of character?
What is the advantage of OOP in java?
What are the concepts of 'OOPS'?