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 classes of exceptions, thrown by a throw statement?
How can we create a thread in java?
How OOPS concept is achieved in Java?
6 Answers Cognizant, JPMorgan Chase, Xavient,
What is currentthread()?
what is the difference between thread and runnable types? : Java thread
Describe 2 different ways to concatenate two strings.
How to make object serializable in java?
What is the size of string?
How are variables stored?
What is a consumer in java?
Can variables be used in java without initialization?
How to convert string to char and vice versa?