Protecting data from access by unauthorized function is:
Polymorphism
Encapsulation
Data abstraction
Inheritance
Which of the following is example of encapsulation?
Steering wheel of the car
Car
Color of the car
Music system of the car
Which of the following is correct about function overloading?
The types of arguments are different.
The order of argument is different.
The number of argument is same.
Both 1 and 2.
Which is not associated with Object-oriented programming?
Automatic initialization
Dynamic binding
None of these
Which of the following term is used for a function defined inside a class?
Member Variable
Member function
Class function
Classic function
How many types of polymorphisms are supported by C++?
1
2
3
4
Which of the following is an Object-oriented programming language?
a. Smalltalkb. Object Pascalc. Javad. All of the above
Both b and c
a only
c only
d only
Which of the following keyword is used to overload an operator?
Overload
Operator
Friend
Override
Which of the following is an abstract data type?
Int
Double
String
Class
Which of the following concepts of OOPS means exposing only necessary information to client?
Encapsulation.
Abstraction
Data hiding
Data binding