what is difference between class and object?
Answer Posted / bala prasad
class is a collection of methods and static& non static
variables.
Object is the super class of all classes. Object is used to
access non static members of a class.
Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What environment variables are required to be set on a machine in order to run Java programs?
Why Java doesn’t support multiple inheritance?
What is charat java?
What are basic keywords?
What are the different http methods?
What is the static import?
What is a final class ?
What is the size of int?
What is difference between static variable and global variable?
Can we use synchronized block for primitives?
Give any two differences between C++ and java.
How can we make sure main() is the last thread to finish in java program?
Explain about class in java?
What is pass by value?
What is lambda programming?