Answer the following statements true (T) or false (F)

1. Overriding is when a derived class redefines a method from the base class.
2. A constructor for a derived class begins with an invocation of a constructor for the base class.
3. The call to the base class constructor (super) must always be the last action taken in a constructor
definition.
4. You may substitute the keyword this for super() to call a constructor of the derived class.
5. An instance variable (or method) that is private in a base class is accessible by name in the definition
of a method in any other class.


1. True
2. True
3. False
4. True
5. False

Computer Science & Information Technology

You might also like to view...

Which of the following is used to insert images into a world?

a. Billboard b. Dummy c. Pose d. Vehicle e. None of these

Computer Science & Information Technology

What points the domain to the web host?

a. Domain name b. Web host c. Name server d. FTP client

Computer Science & Information Technology

By giving visual cues to the reader, indenting paragraph text makes a document easier to read

Indicate whether the statement is true or false

Computer Science & Information Technology

Case PB 1-1Charlotte is working on a draft of her company's newsletter. She wants to establish some best practices regarding saving the file.When Charlotte is done with the newsletter she wants to change the name to First Quarter Final Newsletter. To do this, she would use the ____ command.

A. Save B. Save As C. Save As Final D. Draft

Computer Science & Information Technology