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 of the following is an abstract data type?
Int
Double
String
Class
Which of the following statement is true concerning objects and/or classes?
An object is an instance of a class
A class is an instance of an object
An object includes encapsulates only data
A class includes encapsulates only data
Which of the following is example of encapsulation?
Steering wheel of the car
Car
Color of the car
Music system of the car
How many types of polymorphisms are supported by C++?
1
2
3
4
Which of the following term is used for a function defined inside a class?
Member Variable
Member function
Class function
Classic function
Which of the following concepts provides facility of using object of one class inside another class?
Encapsulation
Abstraction
Composition
Inheritance
The concept of hierarchical classification is related to:
Function overloading
Data Encapsulation
While doing transactions in an ATM counter, the account holder can check his balance, withdraw cash, deposit etc. He is not aware of the background processes like interest calculation, transaction that takes place in bank etc. Name the OOP feature that you can correlate with the above situation.
Data Abstraction
Modularity
Which of the following concepts means determining at run time what method to invoke?
Data hiding
Dynamic Typing
Dynamic binding
Dynamic loading