Question 1 :
Which of the following unary operators can be overloaded?
A). 1, 2, 3
B). 3, 4, 5
C). 3 only
D). 5 only
Question 2 :
A derived class can stop virtual inheritance by declaring an override as
D). not inheritable
Question 3 :
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?
Question 4 :
Which of the following statements is correct?
A). When used as a modifier, the new keyword explicitly hides a member inherited from a base class.
B). Operator overloading works in different ways for structures and classes.
C). It is not necessary that all operator overloads are static methods of the class.
D). The cast operator can be overloaded.
Question 5 :
Which of the following keyword is used to overload user-defined types by defining static member functions?