what is difference between class and object?
Answer Posted / unknown
class is defined as a collection of objects.
object is defined as instance of class and it isa real time
entity or a thing.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the difference between sleep and wait in java?
What are the two types of exceptions in java? Which are the differences between them?
What are different types of control structures?
What are controls and their different types in awt?
How many types of gc are there in java?
Is null an object java?
How to sort an unsorted array in java?
What are checked exceptions?
Does it matter in what order catch statements for filenotfoundexception and ioexception are written?
Explain the difference between the public, private, final, protected, and default modifiers?
How does compareto work in java?
How large is a boolean?
What is the advantage of preparedstatement over statement?
Can we use a default constructor of a class even if an explicit constructor is defined?
What is fundamental datatype?