Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Beginning Java and the fly likes just saw an example of class<t>{..........}  ,what does t refer over here and how to create a constr Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "just saw an example of class<t>{..........}  ,what does t refer over here and how to create a constr" Watch "just saw an example of class<t>{..........}  ,what does t refer over here and how to create a constr" New topic
Author

just saw an example of class<t>{..........} ,what does t refer over here and how to create a constr

Vishal Hegde
Ranch Hand

Joined: Aug 01, 2009
Posts: 1067

just saw an example of class<t>{..........} ,what does t refer over here and how to create a constructor


http://www.lifesbizzare.blogspot.com || OCJP:81%
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3151
    
  33

You subject and Body of the post are similar

Please read about Generics. The sample class declaration is Generics in action.


Mohamed Sanaulla | My Blog
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 44605
    
  34
mohamed sanaullah wrote: . . . Please read about Generics. . . .
Try here, for a start.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: just saw an example of class<t>{..........} ,what does t refer over here and how to create a constr
 
It's not a secret anymore!