what is difference between class and object?
Answer Posted / shweta
class is a basically collection of object.its also called as
a blueprint of object and object is a instance of a
class.for eg.men is a class ans jay,raj is a member of a class.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the default size of load factor in hashing based collection?
is it possible to instantiate the math class?
What is scope & storage allocation of global and extern variables? Explain with an example
What is the abstract class?
Is java a pure object oriented language?
Why is an interface be able to extend more than one interface but a class can’t extend more than one class?
What is codebase?
Define iterator and methods in iterator?
When we should use serialization?
Can we inherit a class with private constructor?
What does jre stand for?
What are the types of collections in java?
Why string is not a wrapper class?
Why are functions called methods in java?
State the merge-sort principle and its time complexity.