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
How do you write a good declaration?
When throws keyword is used?
What is java full form?
how to create multithreaded program? Explain different ways of using thread? : Java thread
What is the difference between yielding and sleeping in java programming?
What is meant by the value of a variable?
Can you explain inner class.
What are some examples of variable costs?
What is difference between string and stringbuffer?
What are the differences between the constructors and methods?
What is OOP's Terms with explanation?
How is treeset implemented in java?
What initialize variables?
Define inheritance with reference to java.
How do you create a null object?