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

Is java an ide?

526


What is proper subset?

537


What are synchronized blocks in java?

602


What is split return?

491


What is the intersection and union methods?

546






Why deletion in linkedlist is fast than arraylist?

535


What do you mean by buffering?

553


What ide should I use for java?

492


How many bits is a boolean?

621


there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box.

1575


Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?

605


how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)

1907


Write a code to show a static variable?

618


Explain the scope or life time of class variables or static variables?

519


Does java initialize arrays to zero?

508