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 |
What is the difference in between cpp and java? Can u explain in detail?
What happens if an exception is not handled in a program?
Convert a binary search tree to a sorted doubly linked list inplace.
Explain the features of interfaces in java?
What classes of exceptions may be thrown by a throw statement?
How does a for loop work java?
What is the final variable?
Is class forname reflection?
What defines function?
Explain the difference between transient and volatile in java?
What is the difference between procedural and object-oriented programs?
What is java basic concept?