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
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
The concept of hierarchical classification is related to:
Abstraction
Inheritance
Function overloading
Data Encapsulation
The term operator overloading in C++ refers to:
Message passing
Polymorphism
Data hiding
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?
Modularity
Which of the following concepts means adding new components to a program as it runs?
Dynamic typing
Dynamic binding
Dynamic loading
Which of the following is an invalid visibility label while inheriting a class?
Public
Private
Protected
Friend
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 Object-oriented programming language?
a. Smalltalkb. Object Pascalc. Javad. All of the above
Both b and c
a only
c only
d only ......
Which of the following languages is not a procedure-oriented programming language?
ALGOL
COBOL
FORTRAN
SQL