| 9. | Which of the following statements are correct? 1 All operators in C#.NET can be overloaded. 2 We can use the new modifier to modify a nested type if the nested type is hiding another type. 3 In case of operator overloading all parameters must be of the different type than the class or struct that declares the operator. 4 Method overloading is used to create several methods with the same name that performs similar tasks on similar data types. 5 Operator overloading permits the use of symbols to represent computations for a type. |
|||||||
Answer: Option C Explanation: No answer description available for this question. Let us discuss.
|
| 10. | Which of the following statements is correct? |
|||||||||
Answer: Option D Explanation: No answer description available for this question. Let us discuss.
|
| 11. | Which of the following is the correct way to overload + operator? |
|||||||||
Answer: Option D Explanation: No answer description available for this question. Let us discuss.
|
| 12. | Which of the following keyword is used to overload user-defined types by defining static member functions? |
|||||||||
Answer: Option C Explanation: No answer description available for this question. Let us discuss.
|
| 13. | Which of the following statements is correct? |
|||||||
Answer: Option A Explanation: No answer description available for this question. Let us discuss.
|
| 14. | Which of the following keyword is used to change the data and behavior of a base class by replacing a member of a base class with a new derived member? |
|||||||||
Answer: Option A Explanation: No answer description available for this question. Let us discuss.
|
| 15. | A derived class can stop virtual inheritance by declaring an override as
|
|||||||||
Answer: Option E Explanation: No answer description available for this question. Let us discuss.
|
| 16. | Which of the following unary operators can be overloaded? 1 true 2 false 3 + 4 new 5 is |
|||||||
Answer: Option A Explanation: No answer description available for this question. Let us discuss.
|
