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
Does substring create a new object?
What is the inheritance?
Differentiate between a constructor and a method? Can we mark constructors final?
What is method overloading in JAVA? Why is it not present in C ?
What is array initialization in java?
why Java does not support multiple inheritances?
What is the use of string and stringbuffer?
Is a boolean variable?
what is recursion in java
Explain about anonymous inner classes ?
Explain list interface?
What is the maximum size of arraylist in java?
What is included in core java?
Write a program to print 15 random numbers using foreach of java 8?
What mechanism does java use for memory management?