Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Other JSE/JEE APIs and the fly likes interface with parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "interface with parameters" Watch "interface with parameters" New topic
Author

interface with parameters

Palraj Jayaraj
Ranch Hand

Joined: Jun 06, 2012
Posts: 35

what is the meaning of <T> in the following

public interface Task<T> {
T execute();
}
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19958
    
  25

Generics


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: interface with parameters