Classes & Objects
- Pick out the correct option.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
We cannot make an instance of an abstract base class
- Where does the abstract class is used?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
base class only
- Which interface determines how your class will be used by another program?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
If we invoked the interface as public means, We can access the program from other programs also.
- Pick out the correct statement about the override.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
Overriding refers to a derived class function that has the same name and signature as a base class virtual function
- What does the cerr represent?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
cerr is an object of class ostream that represents the standard error stream. It is associated with the cstdio stream stderr.