Originally posted by agrah upadhyay:
what is this SCJP beta? Is it really free.If From here can i get?
Originally posted by Akshay Kiran:
because C1 is public
to make this work, place C2 in another file C2.java in the same package and make it public
Originally posted by Karthik Rajashekaran:
hi Bilal
i didnot get what you are saying ?
Originally posted by Barry Gaunt:
Are you sure there are no typos in your example?
Did you make up this question yourself? If no, what is the source of the question?
Originally posted by Jim Yingst:
[EFH]: Plenty of mutable classes implement equals() and hashCode() based on their changeable state -- all of the Collections classes, for example.
Yes, but most of those classes don't come in two flavors - mutable and immutable - they way String and StringBuffer do. Given that many classes need to be mutable for some applications, but not for others, it would be a bit of a pain to make mutable and immutable versions of all our classes.