what is difference between class and object?
Answer Posted / revansiddappa p.h.
Class:
Is another kind of data type in oops like structure.
It is static in nature during program execution.
Object:
It is like variable of type class for accessing member
variables and methods.
Objects are dynamic in nature during program execution.
Can be constructed and destroyed.
Is This Answer Correct ? | 44 Yes | 14 No |
Post New Answer View All Answers
What is instance synchronization?
How we can run a jar file through command prompt in java?
What is a finally block? Is there a case when finally will not execute?
What are the types of inner classes (non-static nested class) used in java?
Is intellij better than eclipse?
What is final method?
What is java argument list?
Can you give few examples of final classes defined in java api?
What is meant by interface?
What is a vararg?
What is prefix of a string?
How do you square a number in java?
What is public static?
What is method reference?
Explain the pointers in Java?