Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2012
    Posts
    4
    Rep Power
    0

    Lightbulb knowing the address of any variable or function in java

    Is there "any" way by which we can know the address of any variable or function as in C or C++. I know everything about the security issues in java due to which such a thing is not allowed,but I want to know if there's still a way!!

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,433
    Blog Entries
    7
    Rep Power
    20

    Default Re: knowing the address of any variable or function in java

    No; the notion of 'address of' anything is unknown in Java.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #3
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,926
    Rep Power
    8

    Default Re: knowing the address of any variable or function in java

    Why do you think you want to do this?
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  4. #4
    Join Date
    Dec 2012
    Posts
    4
    Rep Power
    0

    Default Re: knowing the address of any variable or function in java

    just curiosity!!

Similar Threads

  1. Replies: 7
    Last Post: 10-19-2012, 09:53 AM
  2. change variable given as argument to function
    By Danieljabailey in forum New To Java
    Replies: 4
    Last Post: 07-27-2011, 11:48 PM
  3. Knowing which IP address is active
    By sukatoa in forum Networking
    Replies: 2
    Last Post: 05-05-2009, 04:01 PM
  4. Setting a variable in JSTL for use in a JSP function
    By MikeStringfellow in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 03-19-2009, 04:48 PM
  5. Function in a variable
    By beserie in forum New To Java
    Replies: 4
    Last Post: 01-07-2008, 03:12 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
  •