• Post Reply Bookmark Topic Watch Topic
  • New Topic

generics in java  RSS feed

 
Roshan Rai
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Generics can help detect type errors at compile time, thus make programs more robust.

Generics can make programs easy to read.


but can Generics make programs run faster...??
 
Matthew Brown
Bartender
Posts: 4568
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. Generics make no difference at run time.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!