what is difference between class and object?

Answer Posted / bharti kishnani

class is a collection of methods..
wereas through the objects we can call any method of that
class

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is finalize method?

585


How to compare strings in java?

508


What is singleton class example?

591


Can you use abstract and final both with a method?

573


What does regex mean?

571






How arrays are stored in memory in java?

513


Give example to differentiate between call by value and call by reference.

597


Difference between object and reference?

687


what is inner class in java?

628


Can we store variables in local blocks?

790


What are the main differences between the java platform and other platforms?

533


What is the purpose of the runtime class in java programming?

570


What is bool mean?

571


What are checked exceptions?

585


What is stack class in java?

548