THE OCA EXAM TOPICS COVERED IN THIS PRACTICE TEST INCLUDE THE FOLLOWING:
- Using Operators and Decision Constructs
- Use Java operators; use parentheses to override operator precedence
- Test equality between Strings and other objects using == and equals()
- Create if and if/else and ternary constructs
- Use a switch statement
Which of the following variable types is not permitted in a switch statement?
What is the value of tip after executing the following code snippet?
int meal = 5;
int tip = 2;
int total = meal + (meal>6 ? ++tip : ‐‐tip);
What is the ...