Wrapping data and its related functionality into a single entity is known as………
a) abstraction
b) encapsulation
c) polymorphism
d) Modularity
What does polymorphism mean?
a) allowing overriding functions
b) concept of hiding data
c) keeping things in different modules
d) wrapping things into single unit
Which of the following allow you to reuse the written code?
a) encapsulation
b) abstraction
c) inheritance
d) polymorphism
Which of the following show multiple inheritance?
a) A->B->C
b) A->B; A->C
c) A, B->C
d) B->A
What does modularity mean?
a) hiding part of program
b) subdividing program into small parts
c) overriding parts of program
d) wrapping things into single unit
Which of the following class allows to declare
only one object of it?
a) abstract class
b) virtual class
c) singleton class
d) friend class