what is difference between class and object?
Answer Posted / mantu mahapatra
class can exist without object, like model of a car can
exist without car.
object can't exist without class , like model of a car
can't exist without car.
which is physically exist in the real world that is known
as object and there logical Existence is known as class
| Is This Answer Correct ? | 4 Yes | 11 No |
Post New Answer View All Answers
Does java support multiple inheritance or not?
What is a method type?
What is the use of bufferedreader?
What is byte [] in java?
Is list thread safe in java?
How large is a boolean?
Why java is platform independent? Explain.
What is return in java?
How does a for loop work java?
What is the difference between method and means?
What is functional interface in java?
why are there separate wait and sleep methods? : Java thread
Why scanner is used in java?
Explain the concept of hashtables?
What is contractor means and methods?