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 do you understand by private, protected and public?
What is anti pattern in programming?
What are reference variables in java?
How does arraylist work in java?
Can a final variable be null?
Tell some latest versions in JAVA related areas?
Can a source file contain more than one class declaration?
What is singleton math?
What is arrays aslist in java?
What is meant by overloading?
Which of the following is not an isolation level in the JDBC
Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?
What is preparedstatement in java?
What is wrapper class html?
What is currentthread()?