Match each item with a statement below.
A. A class that has inherited from a base class, also known as a derived class.
B. A synonym for base class.
C. Can be used by a class and its descendants.
D. Using the same method name to indicate different implementations.
E. The ultimate base class for all other types.
F. Returns a string containing an object's class.
G. Occurs when two reference type objects refer to the same object.
H. Returns true if two Objects have the same memory address.
I. A class that cannot be extended.
J. Static methods that act like instance methods.
A. extended class
B. superclass
C. protected members
D. polymorphism
E. System.Object
F. GetType()
G. reference equality
H. Equals()
I. sealed class
J. extension methods
You might also like to view...
We need to specify that a LCDMonitor class inherits from a Monitor class. The notation for doing so look like this:
A. class LCDMonitor inherits from Monitor B. class LCDMonitor : class Monitor C. class LCDMonitor : Monitor D. class LCDMonitor : public Monitor
(Bank Account Information Application) Create an application that allows a user to input a deposit amount (Fig. 4.15). Each time the user clicks the Enter JButton, the applica- tion adds the deposit amount entered by the user in the Deposit amount: JTextField to the balance that is currently displayed in the Balance: JTextField, then displays the new result in the Balance: JTextField. [Note: This application displays Sue Purple as a default client name and 12345 as a default account number.]
a) Copying the template to your working directory. Copy the C:Examples Tutorial04ExercisesAccountInformation directory to your C:SimplyJava directory.
b) Opening the Command Prompt window and changing directories. Open the Com- mand Prompt window by selecting Start > Programs > Accessories > Command Prompt. Change to your working directory by typing cd C:SimplyJava AccountInformation.
c) Compiling the template application. Compile your application by typing javac
AccountInformation.java.
d) Running the template application. Run the Bank Account Information template application by typing java AccountInformation. Type 100 in the Deposit amount: JTextField. When you press the Enter JButton, notice that the deposit amount is not added to the balance because you have not added code to the Enter JButton’s event handler yet.
e) Opening the template file. Open the AccountInformation.java file in your text editor.
f) Inserting code in the event handler. I
Which of the following is NOT recommended for optimal video playback from CD-ROM?
a. Use a large video window and a high frame rate. b. Interleave the audio and video segments together. c. Use recently spaced key frames. d. Use the Sorenson codec. e. Defragment your files before burning the master.
In ____________________ organization, the order of the records is physically based on the content of the key field.
Fill in the blank(s) with the appropriate word(s).