This preview shows page 1. Sign up to view the full content.
Unformatted text preview: cannot be applied to (int,int,int) System.out.println("The largest is " + Compare3.largest(num1, num2, num3)); In Java 1.5, however, it compiles and runs correctly because autoboxing make an explicit int->Integer unnecessary....
View Full Document
This note was uploaded on 03/22/2010 for the course CS 202 taught by Professor Fong during the Spring '10 term at SIU Carbondale.
- Spring '10
- Computer Science