Today, shopping malls make available almost all goods and customer services under a single roof. Can you correlate this with any of the OOP features you have learn?
Polymorphism
Modularity
Data Encapsulation
Inheritance
C++ is an example of
Object based language
Non-procedural language
Object oriented language
Non Object oriented language
Which of the following access specifier is used as a default in a class definition?
Protected
Public
Private
Friend
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
The benefits of object-oriented modeling are which of the following?
The ability to tackle more challenging problems
Reusability of analysis, design, and programming results.
Improved communication between users, analysts, etc.
All of the above
Which of the following is an abstract data type?
Int
Double
String
Class
Which of the following is not an OOP concept?
Overloading
Procedural programming
Data abstraction
Which of the following concepts means determining at run time what method to invoke?
Data hiding
Dynamic Typing
Dynamic binding
Dynamic loading
Protecting data from access by unauthorized function is:
Encapsulation
An abstract class is which of the following?
A class that has direct instances, but whose descendants may have direct instances.
A class that has no direct instances, but whose descendants may have direct instances.
A class that has direct instances, but whose descendants may not have direct instances
A class that has no direct instances, but whose descendants may not have direct instances