Suppose class A implements interface I1. The class explicitly implements a member of I1. How is it possible to access this member?
through a class instance
through an instance of interface
Both the above
None of these
Which of the following is an invalid visibility label while inheriting a class?
public
private
protected
friend
Which of the following keyword is used to overload an operator?
Overload
Operator
Friend
Override
Which of the following access specifier is used as a default in a class definition?
The ability for a message or data to be processed in more than one form is called:
Polymorphism
Encapsulation
Data hiding
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 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 concepts means determining at run time what method to invoke?
Dynamic Typing
Dynamic binding
Dynamic loading
Which of the following programming approach used functions as a key concept to perform action-oriented tasks?
Structured programming
Modular programming
Procedure-oriented programming
Object-oriented programming
Which of the following languages is not a procedure-oriented programming language?
ALGOL
COBOL
FORTRAN
SQL