A) 528.00
B) 580.00
C) There is no value because the constructor has an error.
D) There is no value because the object order has not been created.
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) Describe the problem domain.
B) Identify all the nouns.
C) Write the code.
D) Refine the list of nouns to include only those that are relevant to the problem.
Correct Answer
verified
Multiple Choice
A) Scanner
B) Random
C) PrintWriter
D) All of the above
Correct Answer
verified
Multiple Choice
A) the instance methods of the same class
B) inside the class, but not inside any method
C) inside the parentheses of a method header
D) the method in which they are defined
Correct Answer
verified
Multiple Choice
A) fields
B) instances
C) methods
D) relationships
Correct Answer
verified
Multiple Choice
A) this is a public attribute named Height and is a double data type
B) this is a private method with no parameters and returns a double data type
C) this is a private attribute named Height and is a double data type
D) this is a public method with a parameter of data type double and does not return a value
Correct Answer
verified
Multiple Choice
A) x is available to code that is written outside the Circle class.
B) radius is not available to code written outside the Circle class.
C) radius, x, y, and z are called members of the Circle class.
D) z is available to code that is written outside the Circle class.
Correct Answer
verified
Multiple Choice
A) a wildcard import
B) an explicit import
C) unconditional import
D) conditional import
Correct Answer
verified
Multiple Choice
A) public
B) static
C) private
D) protected
Correct Answer
verified
Multiple Choice
A) the class name
B) the method names
C) the field names
D) object names
Correct Answer
verified
Multiple Choice
A) returns an object of the class.
B) never receives any arguments.
C) with the name ClassName.constructor.
D) performs initialization or setup operations.
Correct Answer
verified
Multiple Choice
A) 1
B) 2
C) 1 and 2
D) neither 1 or 2
Correct Answer
verified
Multiple Choice
A) the things a class is responsible for doing
B) the things a class is responsible for knowing
C) both A and B
D) neither A nor B
Correct Answer
verified
Multiple Choice
A) brackets, []
B) parentheses, ()
C) braces, {}
D) double quotes, ""
Correct Answer
verified
Multiple Choice
A) field
B) class
C) method
D) instance
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) in order to avoid having stale data
B) because it is redundant
C) because it should be defined in another class
D) in order to keep it current
Correct Answer
verified
True/False
Correct Answer
verified
Showing 1 - 20 of 58
Related Exams