Results 1 to 2 of 2
  1. #1
    Toluwase is offline Member
    Join Date
    Apr 2011
    Rep Power

    Default Stack operations

    Please, how is it possible to insert different type of elements in stack?

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Voorschoten, the Netherlands
    Blog Entries
    Rep Power

    Default Re: Stack operations

    Just because the Object class is the mother of all classes and because Java uses single inherticance of classes, using a stack of Objects can do the job.

    kind regards,

    Build a wall around Donald Trump; I'll pay for it.

Similar Threads

  1. Array Operations
    By knoxb in forum New To Java
    Replies: 2
    Last Post: 02-10-2012, 07:06 AM
  2. Replies: 2
    Last Post: 01-14-2012, 08:56 PM
  3. Operations on JList
    By africanhacker in forum AWT / Swing
    Replies: 7
    Last Post: 03-21-2011, 04:15 PM
  4. Stack push/pop/peek operations
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-29-2008, 09:03 AM
  5. String operations..
    By sireesha in forum New To Java
    Replies: 4
    Last Post: 12-14-2007, 02:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts