public class Select { public static void main(String[] args) { Select s = new Select(); s.getObject(new Driver("Guy","Israel",25, 1)); s.getObject(new Car("Toyota","Corrola",234003)); } public Object getObject(Object tmpOBJ) { return tmpOBJ; } } // Question: // // Based on this program, the getObject tells which object to be implemented // is there an option to do a revised implementation ? which means: // based on the amount of the parameters to pick the asssoicated object.