what is difference between class and object?
Answer Posted / patel hemangi baldevbhai
class is collection of object.
ex:
|ob1|ob2|ob3|
object is collection of data member & member function.
ex:
| data | member |
| member | function |
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How do you generate random numbers in java?
What is a flag variable?
What is the purpose of static methods and static variables?
Can list have duplicates in java?
What are the 4 types of research methods?
Is there any limitation of using inheritance?
How do I enable java in safari?
What is string [] java?
Implement a stack with push (), pop() and min() in O(1) time.
How big is a 32 bit integer?
How many ways can we create singleton class?
What is variable declaration and definition?
Can sleep() method causes another thread to sleep?
Is finalize() similar to a destructor?
What is float in java?