Question
Question
This class can access and manipulate all the private members of that class which
connects to a friend.
Friend class can only access and manipulate the protected data members of that
class that connects to a friend.
Friend class can't access any data member of another class but can use its methods
Encapsulation
A Class
Inheritance
None of Above
extends
extend
implement
inherit
Double
String
Int
Class
Polymorphism
Inheritance
Abstraction
Encapsulation
7. Which of the following feature is also known as run-time binding or late binding
Dynamic typing
Dynamic loading
Dynamic binding
Data hiding
Virtual function
const function
Static function
Friend function
Final class
Template class
Abstract class
Efficient code
10. Which of the following OOP concept binds the code and data together and keeps
them secure from the outside world?
Polymorphism
Inheritance
Abstraction
Encapsulation
Public member
Protected member
Private member
Sum of the size of all inherited variables along with the variables of the same
class
The size of the class is the largest size of the variable of the same class
Parent class
Nested class
Anonymous class
Abstract class
class teacher{}s;
class teacher{}s[];
passed by copy
passed as function
passed by value
passed by reference
16. Which of the following feature may be breaked if the user does not use the
classes in the code?
Inheritance
Object
Class
Interfaces
18. The principle of abstraction.
19. A constructor
Cache
HDD
ROM
RAM
Multilevel
Single level
Multiple
Hybrid
23. What is the name of the feature in which we enforce the definitions of the
abstract function at the compile time?
Dynamic Polymorphism
Static Polymorphism
Dynamic or Static Polymorphism according to need
Polymorphism