This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Warnings in Generics

 
Deepthi Kanakam Rajan
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

Does assigning generic types to a raw type generate unchecked warnings or is it the other way round?

I am really confused about this as Whizlabs has mentioned the above statement while the document on Generics by Gilad Bracha states that assigning a raw type to a generic type generates unchecked warnings.

Appreciate a clarification on this.

Thanks in advance.
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why not write some code to verify whether warning messages are or are not generated?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic