Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Vishal Hegde
Ranch Hand
Posts: 1077
Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just saw an example of class<t>{..........} ,what does t refer over here and how to create a constructor
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You subject and Body of the post are similar

Please read about Generics. The sample class declaration is Generics in action.
 
Campbell Ritchie
Sheriff
Posts: 48396
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
mohamed sanaullah wrote: . . . Please read about Generics. . . .
Try here, for a start.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic