









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Notes; Professor: Yang; Class: GRAPHICS AND MULTIMEDIA; Subject: Computer Science; University: University of Kentucky; Term: Fall 2009;
Typology: Study notes
1 / 15
This page cannot be seen from the preview
Don't miss anything!










Java: Object-Oriented Programming
Inheritance:
Advantage
superclasses and subclasses
Is-A, Has-A??
Polymorphism:
abstract and concrete classes
Dynamic binding
The exact type of an objected is determined at run time.
extends
implements
Difference??
A. private static data and public abstract methods. B. only public abstract methods. C. public static final data and public abstract methods. D. private static data and public final methods.
A. A class that implements two interfaces. B. A class that inherits from two classes. C. A class that inherits from one class, and implements an interface. D. All of the above are possible.
Frame JFrame
Menu Bar (optional)
Content Pane
a. abstract window toolkit. b. look-and-feel. c. swing factor. d. All of the above.
a. Container, Component. b. Container, JPanel. c. JComponent, Container. d. Component, Object.
a. the method-call stack is “unwound.” b. the method terminates. c. all local variables in that method go out of scope. d. All of the above.
a. control proceeds to the first statement after the finally block. b. control returns to the throw point. c. the application exits. d. control proceeds to the first statement after the last catch block.