aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Help me fix this,so I can compile(generics doubt) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Help me fix this,so I can compile(generics doubt)" Watch "Help me fix this,so I can compile(generics doubt)" New topic
Author

Help me fix this,so I can compile(generics doubt)

Amit Batra
Ranch Hand

Joined: Mar 04, 2006
Posts: 361

The above is a slightly modified example from the K&B. According from what I understand, this should compile. can anyone tell me what changes I should make in this code to get it to compile.
Gowher Naik
Ranch Hand

Joined: Feb 07, 2005
Posts: 643

Above code compiles and runs fine.I have also marked changes.
wise owen
Ranch Hand

Joined: Feb 02, 2006
Posts: 2023
Amit Batra
Ranch Hand

Joined: Mar 04, 2006
Posts: 361
Thanks. both of you.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help me fix this,so I can compile(generics doubt)
 
Similar Threads
Collections and Generics...help me...
Generics
Chapter 7 - Objective 6.3 & 6.4 - type parameter for method checkAnimals () method.
Help me fix this-Part-2,so I can compile(generics doubt)
Generics and ? symbol