reference type (not the object type) determines which overloaded method is invoked
- 2 Object Orientation
- from OCA/OCP Java SE 7 Programmer I & II Study Guide (Exams 1Z0-803 & 1Z0-804)
- Publisher: Oracle Press
- Released: October 2014
overloading always take on the reference type (i.e. the declared data type).
Share this highlighthttp://www.safaribooksonline.com/a/ocaocp-java-se/78086/