Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

liquifiedkronic

  • 4 years ago

(Java Stacks) choose on of the stack implementations and implement a method with this specification: Object itemAt(int n) //Precondition: 0<=n and n<size(). //Postcondition: The return value is the item that is n from the top (with the top at n=0, the next is at n=1, and so on).

  • This Question is Closed
  1. maitre_kaio
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Do you want me to bring you the tea, sir ? Anyway, this is not related to MIT OCW, you should post this in Computer Science group or Java group ? Maybe Jenkins will be there.

  2. Tomas.A
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    z=x+y Java bytecode PUSH x PUSH y ADD POP z

  3. liquifiedkronic
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Ohh Sorry! I didn't notice I was in the MIT Group

  4. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy