what is difference between class and object?

Answer Posted / priyanka singh

class is a combination of similar type of objects. ex animal but object is the real time entity which has some uniqness. ex dog

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the benefit of inner classes in java?

618


What is array class in java?

598


Why is a string immutable?

548


Why heap memory is called heap?

591


Does java have extension methods?

533






How do you classify Dialog Box?

650


What is stringbuffer in java?

545


Why there are some null interface in java? What does it mean?

649


What are the major drawbacks of external iteration?

578


What is the use of keywords in java?

555


Explain public static void main(string args[]).

569


which class is the wait() method defined in? : Java thread

525


Why hashmap is used in java?

550


What does exp mean in math?

535


How can we achieve thread safety in java?

690