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 Encapsulation
Data Abstraction
Inheritance
Modularity
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 among the following is true about OOPs?
It supports data abstraction
It supports polymorphism
It supports structured programming
It support all the above
Which of the following is an abstract data type?
Int
Double
String
Class
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.
Polymorphism
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
C++ is an example of
Object based language
Non-procedural language
Object oriented language
Non-object oriented language
Which of the following keyword is used to overload an operator?
Overload
Operator
Friend
Override
Which is not associated with Object-oriented programming?
Data abstraction
Automatic initialization
Dynamic binding
None of these
Which of the following access specifier is used as a default in a class definition?
protected
public
private
friend