Exam 2: Using Data
Exam 1: Creating Your First Java Classes76 Questions
Exam 2: Using Data81 Questions
Exam 3: Using Methods, Classes and Objects79 Questions
Exam 4: More Object Concepts84 Questions
Exam 5: Making Decisions80 Questions
Exam 6: Looping77 Questions
Exam 7: Characters, Strings and the Stringbuilder82 Questions
Exam 8: Arrays77 Questions
Exam 9: Advanced Array Concepts80 Questions
Exam 10: Introduction to Inheritance78 Questions
Exam 11: Advanced Inheritance Concepts78 Questions
Exam 12: Exception Handling79 Questions
Exam 13: File Input and Output78 Questions
Exam 14: Introduction to Swing Components79 Questions
Exam 15: Using Javafx and Scene Builder65 Questions
Select questions type
You can declare as many variables in a statement as you want, as long as the variables are different data types.
(True/False)
4.8/5
(42)
Match each term with the correct statement below.
Premises:
A simple data type
Responses:
escape sequence
cast operator.
primitive type
Correct Answer:
Premises:
Responses:
(Matching)
4.9/5
(40)
Match each term with the correct statement below.
Premises:
Uninitialized constant
Responses:
keyboard buffer
lvalue
boolean
Correct Answer:
Premises:
Responses:
(Matching)
4.9/5
(35)
A(n) ____ variable can hold only one of two values: true or false .
(Multiple Choice)
4.8/5
(45)
Match each term with the correct statement below.
Premises:
The operator that is represented by an equal sign (=)
Responses:
promotion
parse
primitive type
Correct Answer:
Premises:
Responses:
(Matching)
4.7/5
(32)
100 = salesAmount;
In terms of assignment operators, why is the above statement illegal?
(Essay)
4.9/5
(33)
A ____ is a named memory location that you can use to store a value.
(Multiple Choice)
4.8/5
(32)
A dialog box that displays the options Yes, No, and Cancel can be created using the ____ method in the JOptionPane class.
(Multiple Choice)
4.8/5
(38)
____ refers to the order in which values are used with operators.
(Multiple Choice)
4.8/5
(42)
A(n)____ operator compares two items and the result has a Boolean value.
(Multiple Choice)
4.8/5
(39)
Match each term with the correct statement below.
Premises:
A programming term for an unknown value
Responses:
assignment.
primitive type
float.
Correct Answer:
Premises:
Responses:
(Matching)
4.8/5
(37)
Which statement declares a constant named SALESAMT with a value of 20.99?
(Multiple Choice)
4.8/5
(35)
You use ____ operators to perform calculations with values in your programs.
(Multiple Choice)
4.9/5
(33)
In Java, how is it possible to perform mathematical operations on operands with unlike types?
(Essay)
4.8/5
(30)
Explain how you can override a unifying type imposed by Java. Show an example.
(Essay)
4.8/5
(37)
Showing 21 - 40 of 81
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)