info@avatto.com
+91-9920808017
36. Advantages of inheritance include
facilitating class libraries
avoiding the rewriting of code
providing a useful conceptual framework
all of these
Your email address will not be published. Required fields are marked *
Report
Name
Email
Website
Save my name, email, and website in this browser for the next time I comment.
Comment
37. A derived class may also be called
sub class
super class
parent class
derived class
38. A derived class ........ override attributes of a parent class.
may
may if the two classes have same name
must
must not
39. If you omit any constructor argument when you instantiate an object, you must use default values
for all parameters to the constructor
for all parameters to the right of the argument
for all parameters to the left of the argument
for no other parameters.
40. A function in a derived class that has the same name as a function in the parent class will
override the base class function
cause an error message to display
be overridden by the base class function
execute immediately often the base class function executes
Login with Facebook
Login with Google
Forgot your password?
Lost your password? Please enter your email address. You will receive mail with link to set new password.
Back to login