Exam 3: Decision Structures
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
Enclosing a group of statements inside a set of braces creates a:
(Multiple Choice)
4.8/5
(41)
What will be the value of ans after the following code has been executed?
Int ans = 10;
Int x = 65;
Int y = 55;
If (x >= y)
Ans = x + y;
(Multiple Choice)
4.9/5
(37)
What will be printed when the following code is executed?
Double x = 45678.259;
String output = String.format("%,.1f", x);
System.out.println(output);
(Multiple Choice)
4.8/5
(39)
An important style rule you should follow when writing if statements is to line up the conditionally executed statement with the if statement.
(True/False)
4.9/5
(31)
Showing 61 - 64 of 64
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)