All three integer literals (octal, decimal, and hexadecimal) are defined as int by default, but they may also be specified as long by placing a suffix of L or 1 after the number
Originally posted by marcelo ribeiro:
From Kathy's book page 30:
so at line 8 you're free to add either protected or public modifier.
Originally posted by Jesper Young:
About the second question: For which version of SCJP / Java was this test?
There is indeed an interface Queue, but it was added in Java 5. So if this test was for Java 1.4, then Queue would have been a wrong answer.
Originally posted by Jagjit Dhaliwal:
Yes I paid by card and dont remember exact price ...something like odd 700 bucks ..
HAS ANYONE GONE THROUGH DAN CHISHOLM'S TEST? Please share your results and experience with it.
Originally posted by marc weber:
"An inner class is a nested class that is not explicitly or implicitly declared static." Ref: JLS - 8.1.3 Inner Classes and Enclosing Instances.
Does Exception inherit from Exception?
Originally posted by Fred Rosenberger:
there's your problem. newName is not assigned to variable name. newestName is.
[ August 14, 2007: Message edited by: Fred Rosenberger ]