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
Explain what access modifiers can be used for variables?
How to add menushortcut to menu item?
Can you override static methods?
What is meant by class loader? How many types are there?
How do you check if a character in a string is a digit or letter?
What are the advantages of arraylist over arrays?
Difference between final and effectively final ?
What is the difference between the direct buffer and non-direct buffer in java?
What is continuity of a function?
What is pass by value?
Is null false in java?
What is indexof?
Can abstract class have private constructor?
What does the string method compareto () do?
Explain spliterator in java8?