what is difference between class and object?
Answer Posted / shingala ankit
The class is a main entity in which all the data members and member functions are defined and objects is one by which we can access these data members and member function in order to achieve a task.
each class can have one or more objects of its own but each and every objects can have only one and only one class.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is anagram number?
What is a concrete classes? Is Java object class is concrete class?
What is a function in java?
What is final, finally, finalize?
Can we make constructors static?
hr interview how many minutes asking question
Do you know why doesn't the java library use a randomized version of quicksort?
What is Mutex (Mutual Exclusion Object) ?
What is the symbol for average?
Are arrays passed by reference in java?
Similarity and difference between static block and static method ?
What state does a thread enter when it terminates its processing in java programming?
What is math in java?
Is there any case when finally will not be executed?
What is the generic class?