In: Computer Science
a. (T or F) There can be no code between a try-block and its associated catch-block.
b. (T or F) The reserved word throw is used to signal that an exception has occurred.
c. (T or F) The correct use of throw can be anywhere in a program; a try / catch structure is used only in class definitions.
d. (T or F) In C++, class is not a reserved word.
e. (T or F) Class attributes have no fixed type; their type can be changed during the program execution.
Question a:
Answer :False
Explanation :
*****************************************
Question b:
Answer :True
Explanation :
*****************************************
Question c:
Answer :False
Explanation :
*****************************************
Question d:
Answer :False
Explanation :
*****************************************
Question e:
Answer :True
Explanation :
*****************************************