import java.util.Vector; class OverlaodGen { void method(Vector v) { // Integer i = v.get(0); } void method(Vector v) { // String s = v.get(0); } }