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

1. Class Math provides only methods that perform common mathematical calculations.
2. You use the Object Browser to learn about the functionality provided by a specific class.
3. A derived class can add its own instance variables, Shared variables, properties and methods,
and it can customize methods and properties it inherits.
4. A base class is more specific than its derived class and represents a more specialized group of
objects.
5. Polymorphism enables you to conveniently program “in the general” rather than “in the
specific.”

1. False. Class Math also declares two commonly used mathematical constants: Math.PI and Math.E.
2. True.
3. True.
4. False. A derived class is more specific than its base class and represents a more specialized group of objects.
5. True.

Computer Science & Information Technology

You might also like to view...

A ____ is a list in which each element contains a key, such that the key in the element at position k in the list is at least as large as the key in the element at position 2k + 1 (if it exists) and 2k + 2 (if it exists).

A. hash table B. hemp C. heap D. pile

Computer Science & Information Technology

The _________________ panel displays the X (horizontal) and Y (vertical) coordinates of the cursor.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology