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 are the different types of inheritance in java?
What is string in java?
Can set contain duplicates?
Can private members of a base class are inheritable justify?
Can we have try block without catch block?
Is map ordered in java?
What is constructor in java ?
What are the various access specifiers in java?
Can we change the value of static variable?
How to access arraylist elements in java?
What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?
How do you sort words in java?
What are the differences between heap and stack memory?
What is object english?
How can I debug the Java security exceptions and AccessControlExceptions?