Which of the following is an Object-oriented programming language?a. Smalltalk
b. Object Pascal
c. Java
d. All of the above
Both b and c
a only
c only
d only
Which among the following is true about OOPs?
It supports data abstraction
It supports polymorphism
It supports structured programming
It support all the above
Protecting data from access by unauthorized function is:
Polymorphism
Encapsulation
Data abstraction
Inheritance
Which of the following provides a reuse mechanism?
Abstraction
Dynamic binding
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.
You have seen a flask.When you put some ice cubes in it,it will stay for hours without melting and when you pour some hot water it will stay hot.
Name the OOP features that we can correlate with this situation.
Modularity
Data Encapsulation
How many types of polymorphisms are supported by C++?
1
2
3
4
Which of the following is an abstract data type?
Int
Double
String
Class
Which of the following is not a characteristic of OOP?
It emphasizes more on procedure rather than data.
It models real world
It wraps up related data items and associated function in one unit.
It follows top-down approach in program design.
Which of the following is an invalid visibility label while inheriting a class?
public
private
protected
friend