It's not a secret anymore!
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


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
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Generics Error
 
It's not a secret anymore!