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 are the two categories of data types in the java programming language?
How to create a thread in java?
What is this keyword in java?
Can we force garbage collector to run ?
What are streams in java 8?
What is functional interface in javatpoint?
how to write a program for sending mails between client and server
What is the use of singleton?
Can I uninstall java?
Is array passed by reference in java?
Does garbage collection occur in permanent generation space in jvm?
What is the java idl system?
What is the purpose of nested class in java?
Can we serialize singleton class?
Explain about method local inner classes or local inner classes in java?