Exam 6: A First Look at Classes
Exam 1: Introduction to Computers and Java51 Questions
Exam 2: Java Fundamentals61 Questions
Exam 3: Decision Structures64 Questions
Exam 4: Loops and Files57 Questions
Exam 5: Methods60 Questions
Exam 6: A First Look at Classes58 Questions
Exam 7: Arrays and the Arraylist Class64 Questions
Exam 8: A Second Look at Classes and Objects50 Questions
Exam 9: Text Processing and More About Wrapper Classes60 Questions
Exam 10: Inheritance70 Questions
Exam 11: Exceptions and Advanced File IO56 Questions
Exam 12: A First Look at GUI Applications60 Questions
Exam 13: Advanced GUI Applications58 Questions
Exam 14: Applets and More54 Questions
Exam 15: Creating GUI Applications With Javafx and Scene Builder40 Questions
Exam 16: Recursion42 Questions
Exam 17: Databases48 Questions
Select questions type
Look at the following statement. import java.util.*;
This is an example of:
(Multiple Choice)
4.8/5
(24)
This refers to the combining of data and code into a single object.
(Multiple Choice)
4.7/5
(31)
In UML diagrams, this symbol indicates that a member is private:
(Multiple Choice)
4.8/5
(32)
A class specifies the ________ and ________ that a particular type of object has.
(Multiple Choice)
4.8/5
(39)
In your textbook the general layout of a UML diagram is a box that is divided into three sections. The top section has the ________; the middle section holds ________; the bottom section holds ________.
(Multiple Choice)
4.7/5
(34)
The term "no-arg constructor" is applied to any constructor that does not accept arguments.
(True/False)
5.0/5
(44)
Quite often you have to use this statement to make a group of classes available to a program.
(Multiple Choice)
4.9/5
(40)
Two or more methods in a class may have the same name as long as:
(Multiple Choice)
4.8/5
(33)
In a UML diagram to indicate the data type of a variable enter:
(Multiple Choice)
4.8/5
(35)
Which of the following statements will create a reference, str, to the String, "Hello, World"?
(Multiple Choice)
4.7/5
(40)
Java allows you to create objects of this class in the same way you would create primitive variables.
(Multiple Choice)
4.8/5
(31)
For the following code, which statement is NOT true?
Public class Circle
{
Private double radius;
Public double x;
Private double y;
}
(Multiple Choice)
5.0/5
(39)
The java.lang package is automatically imported into all Java programs.
(True/False)
4.9/5
(46)
Showing 21 - 40 of 58
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)