CSC152 2005S, Class 12: Lab on Object Basics Admin: * Work with partners * Have a good weekend Overview: * Notes on "overloading" * Lab * Reflection Something interesting in Java: You can reuse procedure names! * Both BigInteger and Fraction provide doubleValue and toString * Within Fraction, we have two constructors (both named "Fraction") * Within String, we have two methods named indexOf (one takes a string, one takes a string and a starting position) * Ability to reuse names: "Overloading" * Possible beause Java can (usually) determine which you mean * Look at the class of the object whose method you are calling * bi.doubleValue, where bi is a BigInteger * Look at the parameters