View Single Post
  #2 (permalink)  
Old 07-10-2007, 06:27 PM
mary mary is offline
Member
 
Join Date: Jul 2007
Posts: 51
mary is on a distinguished road
both method from B class do the same thing, they have the same parameters, check it:
you have this
Code:
class A { public Double id(Request<Integer> request) { return new Integer(0); } public Double id(Request<Double> request) { return new Double(0.0); }
and you have to do that:
Code:
class A { public Integer id(Request<Integer> request) { return new Integer(0); } public Double id(Request<Double> request) { return new Double(0.0); }
good luck
Reply With Quote