Exam 2: Introduction to Java Applications
Exam 1: Introduction to Computers and Java42 Questions
Exam 2: Introduction to Java Applications34 Questions
Exam 3: Introduction to Classes and Objects34 Questions
Exam 4: Control Statements: Part 142 Questions
Exam 5: Control Statements: Part 227 Questions
Exam 6: Methods: a Deeper Look39 Questions
Exam 7: Arrays and Arraylists44 Questions
Exam 8: Classes and Objects: a Deeper Look27 Questions
Exam 9: Object Oriented Programming: Inheritance22 Questions
Exam 10: Object-Oriented Programming: Polymorphism28 Questions
Exam 11: Exception Handling27 Questions
Exam 12: Gui Components: Part 170 Questions
Exam 13: Graphics and Java 2D19 Questions
Exam 14: Strings27 Questions
Exam 15: Files,streams and Object Serialization29 Questions
Exam 16: Generic Collections41 Questions
Exam 17: Lambdas60 Questions
Exam 18: Recursion13 Questions
Exam 19: Searching, Sorting and Big O22 Questions
Exam 20: Generic Classes and Methods15 Questions
Exam 21: Custom Generic Data Structures17 Questions
Exam 23: Concurrency55 Questions
Exam 24: Accessing Databases With Jdbc35 Questions
Exam 25: JavaFX26 Questions
Select questions type
Which of the following is the escape character?
Free
(Multiple Choice)
4.9/5
(46)
Correct Answer:
B
Which of the following is not a valid Java identifier?
Free
(Multiple Choice)
4.9/5
(39)
Correct Answer:
A
Which command executes the Java class file Welcome.class?
Free
(Multiple Choice)
5.0/5
(26)
Correct Answer:
C
When method printf requires multiple arguments,the arguments are separated with ________.
(Multiple Choice)
5.0/5
(42)
Which of the following statements will print a single line containing
"hello there"?
(Multiple Choice)
4.9/5
(35)
Given the Java statement
Sum = number1 + number2;
Which of the following statements is false?
(Multiple Choice)
4.9/5
(33)
What will be output after the following Java statements have been executed (assume all variables are of type int)?
A = 4;
B = 12;
C = 37;
D = 51;
If ( a < b )
System.out.println( "a < b" );
If ( a > b )
System.out.println( "a > b" );
If ( d <= c )
System.out.println( "d <= c" );
If ( c != d )
System.out.println( "c != d" );
(Multiple Choice)
4.8/5
(28)
The format specifier ________ is a placeholder for an int value.
(Multiple Choice)
4.8/5
(42)
Given the Java statement
Number1 = input.nextInt();
In which number1 is an int and input is a Scanner,which of the following occurs if the user does not enter a valid int value?
(Multiple Choice)
4.9/5
(20)
Which is the output of the following statements?
System.out.print( "Hello ");
System.out.println( "World" );
(Multiple Choice)
4.9/5
(38)
Each of the following is a relational or equality operator except:
(Multiple Choice)
4.9/5
(38)
Which command compiles the Java source code file Welcome.java?
(Multiple Choice)
4.8/5
(34)
What is the value of result after the following Java statements execute (assume all variables are of type int)?
A = 4;
B = 12;
C = 37;
D = 51;
Result = d % a * c + a % b + a;
(Multiple Choice)
4.8/5
(33)
End-of-line comments that should be ignored by the compiler are denoted using
(Multiple Choice)
4.8/5
(37)
Portions of statements that contain calculations are called
(Multiple Choice)
4.9/5
(31)
Programs remember numbers and other data in the computer's memory and access that data through program elements called
(Multiple Choice)
4.8/5
(29)
Showing 1 - 20 of 34
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)