what is the diffrence between class and object?
Answers were Sorted based on User's Feedback
Answer / sri
class is a collection of data members nd member funs()
object is an instance of a class
| Is This Answer Correct ? | 21 Yes | 0 No |
Answer / saravana kumar.s
class is a template for attribute and operation of an objects.
object is a instance of class .
object is use to calling class
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / karthick
Class -collection of object is known as class.
object-object is a instance to call a class.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / sri
the exitance of class is logical.but obj exitance is phisical
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / arun kumar
class does not take space
eg:- empty folder have 0 byte space
object always take an space
eg:-files in folder
| Is This Answer Correct ? | 2 Yes | 4 No |
Explain the difference between private, public, package and protected in java?
What do you mean by inner class in java?
Which sorting is used in arrays sort in java?
What is ++ a in java?
What is difference between string and new string?
What a static class can contains?
What is difference between fail-fast and fail-safe?
What is a java object and java application?
Can any one say how will sort map objects in java?
What does @param args mean in java?
What is the final access modifier in java?
What is class level lock ?