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 |
Difference between final and effectively final ? Why is effectively final even required ?
Is string is a data type in java?
What is the difference between DataInputStream and BufferedReader
How is hashset defined in java?
What do you understand by weak reference?
Is intellij better than eclipse?
Is a case study a method or methodology?
What are the advantages of encapsulation in java?
Is nullpointerexception checked or unchecked?
What is data abstraction? Elaborate with example?
What is the purpose of garbage collection in java, and when is it used?
Can you make a constructor final?