Programming - Relationship b/w Objects

You Are Here :: Home > JAVA > Relationship b/w Objects - General Questions

 
25.

The _______________ relationship means that one type of object contains another or is composed of another.                        


A. has-a B. is-a
C. was-a D. None of these




26.

The ____________ relationship means that one type of object is a more specific version of a general type.                        


A. has-a B. is-a
C. was-a D. None of these




27.

The __________ relationship means that during some activity, one type of object uses another type of object.                        


A. has-a B. is-a
C. uses-a D. None of these




28.

A fundamental object-oriented concept is __________________, the bundling of data that represents the state of an object together with the code responsible for manipulating that data.                        


A. encapsulation B. Abstraction
C. Encapsulation D. Inheritance




29.

A __________________ is a subsystem of the virtual machine that tracks the usage of objects and reclaims the memory occupied by objects that are no longer needed by the program.                        


A. encapsulation B. garbage collector
C. Encapsulation D. Inheritance




30.

The_______________ parses Java source files and builds HTML files that document the source code.                        


A. java kit B. exception kit
C. javadoc tool D. None of these




« prev

1

2

3

4

5

6

next »

 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on