Results 1 to 2 of 2
  1. #1
    akiravelmont is offline Member
    Join Date
    Mar 2011
    Location
    bangalore
    Posts
    63
    Rep Power
    0

    Default How to find the objects are created in heap only?

    I studied that the memory for methods and variables are created in stacks and the objects are created in heap. everything is fine with that statement but i am not getting how do we know the methods are stored in stack and objects are created in heap only. please tell me how to find it?

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,422
    Rep Power
    20

    Default Re: How to find the objects are created in heap only?

    Should be able to find that here: The Java™ Virtual Machine Specification

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. How to find x and y values of Point objects?
    By cheezncrackers in forum New To Java
    Replies: 7
    Last Post: 12-13-2011, 10:43 AM
  2. Objects and Classes cannot find symbol variable.
    By argnsoccer in forum New To Java
    Replies: 22
    Last Post: 10-28-2010, 01:23 AM
  3. Find java objects in a given string.
    By sarathi in forum New To Java
    Replies: 3
    Last Post: 03-06-2009, 09:42 AM
  4. How to find file created date.....
    By roshithmca in forum Advanced Java
    Replies: 1
    Last Post: 02-18-2008, 10:48 AM
  5. when objects are removed from heap
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 11-09-2007, 05:25 PM

Tags for this Thread

Posting Permissions

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