what is the diffrence between class and object?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how does the run() method in runnable work? : Java thread

518


What is the epoch date?

575


What is the main function in java?

533


what are the disadvantages of indexes in oracle?

1867


Why stringbuilder is not thread safe?

545






How to change the priority of thread or how to set the priority of thread?

619


What is ascii code?

646


What are the actions that can occur when a thread enters blocked state?

585


What will happen to the exception object after exception handling?

582


What is a variable in java?

540


What are mutable classes?

527


What is the difference between error and an exception?

571


Is char a method in java?

520


What are the types of casting?

601


What is a boolean structure?

565