Answer the following statements true (T) or false (F)
1. A template class allows the class to be used with different data types.
2. Definitions of member functions cannot be placed inside the class definition.
3. When using the indexed list class it is not possible to overwrite data outside the list if you use
a subscript that is too large.
4. An indexed list is a collection of data items of different types.
5. In the indexList template class, the member function append, which adds an element to the end of
the list, has two parameters.
1. True
2. False
3. True
4. False
5. False
You might also like to view...
A client-side attack that involves the attacker placing an invisible layer over something on a website that the user would normally click on, in order to execute a command differing from what the user thinks they are performing, is known as ___________.
A. Tailgating B. Clickjacking C. Phishing D. Spear phishing E. Cross-site request forgery
Suppose that statement2 throws an exception of type Exception2 in the following statement:
``` try { statement1; statement2; statement3; } catch (Exception1 ex1) { } catch (Exception2 ex2) { } catch (Exception3 ex3) { Statement4; throw; } statement5; ``` Which statements are executed after statement2 is executed? A. statement2 B. statement5 C. statement1 D. statement4 E. statement3