Answer the following questions true (T) or false (F)
1. The call to the base class constructor (super) must always be the last action taken in a constructor definition.
2. You may substitute the keyword this for super() to call a constructor of the derived class.
1. False
2. True
You might also like to view...
Which of the following is not true of class template vector?
a. The size of a vector can be changed after it is declared. b. A vector can be assigned to another vector by using the assignment operator. c. A vector object can be initialized with a copy of another vector by invoking the copy constructor. d. A vector can store only data of type int.
Contrast anomaly detection with signature detection.
What will be an ideal response?
When you define a C++ class so that the result is an ADT, which of the following remarks about whether to make a member variable or function public or private are correct?
a) Make them all public. It simplifies life and makes things more efficient to be able access members anywhere. b) Don’t make member variables public. c) Make all member functions public. d) There are some member functions that shouldn’t be public, but most should be public.
Briefly discuss two elements that TCP/IP services depend on to operate.
What will be an ideal response?