Java Reference
In-Depth Information
(s1 + s2 + s3) / 3.0
x 2
y 2
10.
+
11. x is a number, not an object, and you cannot invoke methods on numbers.
12. NoȌthe println method is called on the object System.out .
13. s is set to the string Agent5 .
14. The strings ÐiÑ and ÐssissiÑ .
15. The class only has a method to read a single byte. It would be very tedious
to form characters, strings, and numbers from those bytes.
16. The value is ÐJohnÑ . The next method reads the next word.
Search WWH ::




Custom Search