Search Your Question...!

Showing posts with label JAVA. Show all posts
Showing posts with label JAVA. Show all posts

JAVA MCQ's

1. how will a class protect  the code inside it? 

   View Answer   

   Using Access specifiers



2. the set interface model the ____ set abstractionand is used to represent sets,such as the deck of cards.

   View Answer   

   Duplicate (doubted)



3. inheritance represent the  ___ relationship,also known as parent-child relationship.

   View Answer   

   IS-A



4. What is ‘Basis of Encapsulation’?

   View Answer   

   all of the mentioned



5. which of these is an correct way of defining generic class?

   View Answer   

   class name{/*....*/}