what is difference between class and object?
Answer Posted / kabita
class is a blueprint/framework which has no physical
existance and it is collection of similar properties and
behaviour of objects.
object is nothing which has physical existance, own
behaviour and properties.
it is also known as instance of class.
ex:Employee is a class and ram is aobject of this class.
Is This Answer Correct ? | 42 Yes | 12 No |
Post New Answer View All Answers
Explain the private protected method modifier?
Explain the reason behind ending a program with a system.exit(0)?
What is the difference between static and non-static variables in java programming?
Why does java doesnt suuport unsigned values?
Why does java have two ways to create child threads? Which way is better?
Can a method be static?
Difference between linkedlist and arraylist.
Write a program based on Java script program.
Write a program to search a number in the given list of numbers.
How do you classify Dialog Box?
What are local variables?
Is java map thread safe?
Who found java?
Can a singleton class be inherited?
Is it compulsory for a try block to be followed by a catch block in java for exception handling?