• Post Reply Bookmark Topic Watch Topic
  • New Topic

java api  RSS feed

 
sandeep Talari
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i found a method returning int, string, and object etc. but what is <E> return type i'm confused.

next() method in ListIterator will return next element.But it is written over
there <E>.

please explain.
 
Rob Spoor
Sheriff
Posts: 21135
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out Generics (and on Wikipedia).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!