Answer:
b) A type parameter name must be unique among different generic methods.
Explanation:
<u>These statements are true</u>
Each type parameter list contains one or more type parameters, separated by commas.
The type parameters act as placeholders for the types of the arguments passed to a method.
The type parameter names throughout the method declaration must match those declared in the type parameter list.
<u>But</u>
A type parameter name may be different among different generic methods.
The answer would be 3.instance methods of a class may call only using DOT
Explanation:
1. Run-time errors occur when the program is running.
2. Run-time errors cause the program to halt.
4. Run-time errors occur when a numeric value is expected but a text value is entered.
5. Run-time errors occur when a text value is expected but a numeric value is entered.
Answer:
The answer to the give question as follows:
1) \n
2) \t
3) \'
4) \"
5) \\
Explanation:
The description of the above symbols as follows:
- The \n is used to provide the new line spacing.
- The \t is used to provide a tab space.
- To assign a single character value we use \' single.
- The double \" quote is used to assign a string value.
- The backslash is used to provide the character of the escape and it also used in a file path.