Exam 6: Graphical User Interface GUI and Object-Oriented Design OOD
Exam 1: An Overview of Computers and Programming Languages50 Questions
Exam 2: Basic Elements of Java50 Questions
Exam 3: Introduction to Objects and Input/output50 Questions
Exam 4: Control Structures I: Selection50 Questions
Exam 5: Control Structures II: Repetition50 Questions
Exam 6: Graphical User Interface GUI and Object-Oriented Design OOD50 Questions
Exam 7: User-Defined Methods50 Questions
Exam 8: User-Defined Classes50 Questions
Exam 9: Arrays46 Questions
Exam 10: Inheritance and Polymorphism50 Questions
Exam 11: Handling Exceptions and Events50 Questions
Exam 12: Advanced Guis and Graphics48 Questions
Exam 13: Recursion50 Questions
Exam 14: Applications of Arrays Searching and Sorting and Strings50 Questions
Select questions type
The GridLayout manager arranges GUI components in a list formation.
(True/False)
5.0/5
(34)
Write a program that takes as input the pay rate and hours worked of an employee and calculates the pay of the employee.Based on the problem statement above, which of the following would most likely be chosen as the class?
(Multiple Choice)
4.9/5
(35)
A(n) ____ is a method of a class that is automatically executed when an object of the class is created.
(Multiple Choice)
4.9/5
(40)
If Shape is a class and you create a new class Rectangle that extends Shape, then Shape is a(n) ____ and Rectangle is a(n) ____.Which word goes in the second blank of the sentence above?
(Multiple Choice)
4.9/5
(32)
Given the declaration, Integer x; After executing either of the following two statements, x points to an Integer object with value 8: x = 8;x = new Integer(8);
(True/False)
4.8/5
(34)
Whenever there is a superclass-subclass relationship, the superclass inherits all data members and methods of the subclass.
(True/False)
4.7/5
(32)
In object-oriented design, the verbs in the problem specification can be used to identify the objects in the program.
(True/False)
4.8/5
(38)
The method getContentPane of the class JFrame is used to access the content pane of the window.
(True/False)
4.8/5
(37)
In object-oriented design, the nouns found in the problem specification can be used to select the operations in the program.
(True/False)
4.9/5
(30)
Write a program that takes as input the pay rate and hours worked of an employee and calculates the pay of the employee.Based on the problem statement above, which of the following would be a data member?
(Multiple Choice)
4.8/5
(30)
Write a program to input the radius of the base and height of a cylinder, and calculate and print the surface area, volume, and area of the base of the cylinder.Which words from the problem statement above could we use to determine the operations for this program?
(Multiple Choice)
4.7/5
(36)
Showing 21 - 40 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)