Monthly Archives: October 2010

Java Tip: The compiler cares about what methods are callable on the reference variable, not the actual object

This means that you can call methods on an object only if the methods are in the class/interface used as the reference variable type, regardless of the actual object type. So, if you have an ArrayList<Object> and you load it … Continue reading

Posted in Programming | Leave a comment