Originally posted by Rashi Jain:
But most of them I saw were having something like GPL license. So we can use the material as we want, no?
Originally posted by Ernest Friedman-Hill:
Well, so you've learned something about what test preparation material not to use. "null" is of course the correct answer.
Originally posted by Noam Wolf:
@Russel - the ArrayStoreException happens for the non-generic example... try it out.
Originally posted by Noam Wolf:
You will get a runtime ArrayStoreException on line 2.
Originally posted by Dinesh Tahiliani:
can you please provide me the link of JavaDoc Float.equals()
I willbe thankful to you
Originally posted by John Meyers:
They are not eligible for GC unfortunately. Search the forum, this topic has been discussed before. The island is by itself not reachable but the references point to each other and the JVM thinks that these references can be reached since they point to each other circularly