O'Reilly logo

Sun Certification Training Guide (310-025, 310-027): Java™ 2 Programmer and Developer Exams by Jamie Jaworski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Apply Your Knowledge

Review Questions

1:What is the % operator?
2:What is the difference between the prefix and postfix forms of the ++ operator?
3:What are the legal operands of the instanceof operator?
4:What is the difference between the boolean & operator and the && operator?
5:What is the difference between the >> and >>> operators?
6:How is it possible for two String objects with identical values not to be equal under the == operator?
7:Is &&= a valid Java operator?
8:Is the ternary operator written x : y ? z or x ? y : z ?
9:Can a double value be cast to a byte?
10:Can a Byte object be cast to a double value?
11:Which arithmetic operations can result in the throwing of an ArithmeticException?
12:How is rounding performed under integer division?

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required