aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Generics Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Generics Error" Watch "Generics Error" New topic
Author

Generics Error

Saibabaa Pragada
Ranch Hand

Joined: Oct 24, 2010
Posts: 162
Hi, This is from whizlabs. Please let me know why I am getting following errors.
AmanZeeK Verma
Greenhorn

Joined: Dec 06, 2010
Posts: 29



Please cross check the return also.. its always a T, so needs to be handled that way e.g int x3 can be changed to Double x3.

Just use various permutations on return type and argument type, and analyse the issue. Hope that helps


Aman ZeeK Verma
 
 
subject: Generics Error