what is difference between class and object?
Answer Posted / santosh
objects basic runtime entities.object tack up space in memory.
when program executed the objects are sending messages each other.
class contain so many objects.class is set of data members and member functions.we invoke class must create object.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Is arraylist sorted in java?
What is the difference between final, finally and finalize()?
What is the difference between multitasking and multithreading in Java
Are arrays immutable in java?
What are the different data types in java?
Can we execute a program without main?
When arithmeticexception is thrown?
What are multiple inheritances? Is it supported by java?
What is volatile keyword in java
How do I stop concurrentmodificationexception?
Why java is considered dynamic?
What is the concept of multithreading?
Are variables stored in ram?
What are the important features of Java 11 release?
Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?