This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Generics Error

 
Saibabaa Pragada
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, This is from whizlabs. Please let me know why I am getting following errors.
 
AmanZeeK Verma
Greenhorn
Posts: 29
Android Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic