Results 1 to 3 of 3

Thread: Stack Or Heap

Threaded View

  1. #1

    Thread Starter
    Frenzied Member met0555's Avatar
    Join Date
    Jul 2006
    Posts
    1,385

    Stack Or Heap

    Hi,

    I would like to know if the following are stored in the heap or stack memory? (using the eclipse Java)

    Code:
    String s;
    s ?

    Code:
    s = hello.changeString("Test")
    s ?

    Code:
    Int n;
    n?

    Code:
    public int goalInt(int nNew){
    b = nNEW;
    return nNEW + 2
    }
    nNEW ?


    Thanks
    Last edited by met0555; Jan 16th, 2011 at 09:31 PM.

Posting Permissions

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



Click Here to Expand Forum to Full Width