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
how does multithreading take place on a computer with a single cpu? : Java thread
Can we create an object of private class?
What are methods and how are they defined?
What is a dynamic array java?
write a program that list all permutations of ABCDEF in which A appears before B?
How do singleton patterns work?
What comes to mind when someone mentions a shallow copy in java?
What is ternary operator? Give an example.
What is difference between wait and notify in java?
What is the history of java?
Define how can we find the actual size of an object on the heap?
Is array size fixed in java?
Why do we need data structure in java?
Can you declare an interface method static?
What is difference between static class and singleton pattern?