Answer the following questions true (T) or false (F)
1. The class D inherits from base class B using public inheritance. The class B has public member function f(), but the derived class has no function member with this signature. The f() is not available to an object of class D.
2. Deriving a class from a base class requires serious changes to the base class.
1. False
Explanation: The derived class D inherits public members from class D.
2. False
Explanation: No changes are needed to derive one class from another.
You might also like to view...
Which of the following is not a member function of the queue adapter template? For members of queue, specify any needed arguments.
A. size() B. empty() C. front() D. push() E. top()
A recursive function is one that
a. Speeds up a program. b. Is always slower than a nonrecursive function. c. Calls itself d. Calls no functions at all. e. Calls another function
Exception handling is a means of error detection and processing that has gained increasing acceptance in programming technology.
Answer the following statement true (T) or false (F)
AntiDoS software is used to detect and eliminate computer viruses and other types of malware. _________________________
Answer the following statement true (T) or false (F)