10:53 am - Thursday April 27, 2017

Stack example programs and Tutorial in java

CANDID INDUSTRIAL TRAINING -- CHENNAI
Corporate Training for Experienced Candidate
Struts | Hibernate | Spring | Java / J2EE
SOAP | RestFull | Design Pattern | more...
Ph: +91 72000 69003
137b, 2nd st, shanthi nagar, Chrompet, Chennai -600044

BACK

  1.Check whether stack is empty using boolean empty( )

  2.Look object at top of the stack using E  peek( )

  3.Remove object at the top of stack using E pop()

  4.Push an item on top of the stack using E push(E item)

  5.Search whether object is present in stack using  int search(Object o)

BACK

Filed in: Java Examples

Comments are closed.