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
What is nested loop? What is dangling else condition in it?
Differentiate between the constructors and methods in java?
What are the differences between path and classpath variables?
Write a method to check if input string is palindrome?
What type of variable is gender?
What do you mean by pointer value and address?
what are Hostile Applets?
What are different types of states exist for a thread?
Is there any sort function in java?
What is a treeset in java?
What is unicode full form?
how to handle exceptions in ejb?
Why Java doesn’t support multiple inheritance?
What is a ternary operator in java?
How do you do math powers in java?