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 replaceall in java?

545


What is parse method?

541


How do you do absolute value in java?

523


Java.util.regex consists of which classes?

545


Why are data types important?

539






What is the purpose of the enableevents() method in java programming?

585


Is multiple inheritance supported by java?

509


How does arrays sort work in java?

602


Does constructor be static?

566


What is regex used for?

544


Can a constructor call the constructor of parent class?

541


Why are global variables used?

503


Does unicode support all languages?

522


How dead lock situation occurs in java and how you can identify it?

542


What is a file pointer?

516