This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Warnings in Generics 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 "Warnings in Generics " Watch "Warnings in Generics " New topic
Author

Warnings in Generics

Deepthi Kanakam Rajan
Greenhorn

Joined: May 15, 2006
Posts: 13
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

Joined: Aug 03, 2002
Posts: 7729
Why not write some code to verify whether warning messages are or are not generated?


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Warnings in Generics
 
jQuery in Action, 3rd edition