what is difference between class and object?
Answer Posted / revansiddappa p.h.
Class:
Is another kind of data type in oops like structure.
It is static in nature during program execution.
Object:
It is like variable of type class for accessing member
variables and methods.
Objects are dynamic in nature during program execution.
Can be constructed and destroyed.
| Is This Answer Correct ? | 44 Yes | 14 No |
Post New Answer View All Answers
What an i/o filter in java programming?
Is array serializable java?
How hashmap works in java?
What are the advantages and disadvantages of object cloning?
What is keyword in oop?
What is the difference between a break statement and a continue statement?
What is the difference between the boolean & operator and the && operator in java programming?
How do you execute a thread in java?
What is the use of pattern in java?
What is a bubble sort in java?
Which non-unicode letter characters may be used as the first character of an identifier?
How do you create a method in java?
Why are getters and setters used?
What exactly is java?
What is a instance variable in java?