Results 1 to 2 of 2
  1. #1
    Brekk is offline Member
    Join Date
    Mar 2010
    Posts
    1
    Rep Power
    0

    Default Passing dynamic variables between classes

    I wonder if its possible to pass dynamic variables between classes in java.

    For example: Pass the variable a=(some input value that can change)
    from one class to another.

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    You may need to study on the distinction between classes and objects. Since passing information between objects is usually pretty easy and often simply a matter of calling a setter method or passing a parameter into a constructor, you may wish to greatly clarify your question since we have no idea what your current problem is.

    Much luck!

Similar Threads

  1. Dynamic Classes
    By nunofaria in forum Advanced Java
    Replies: 8
    Last Post: 11-17-2009, 07:20 AM
  2. passing variables to another frame
    By Grom in forum New To Java
    Replies: 10
    Last Post: 11-09-2008, 06:55 PM
  3. passing dynamic data
    By abhiN in forum Web Frameworks
    Replies: 0
    Last Post: 01-17-2008, 02:16 PM
  4. Help for dynamic classes
    By Bender in forum Advanced Java
    Replies: 1
    Last Post: 12-19-2007, 09:46 PM
  5. Replies: 0
    Last Post: 11-10-2007, 05:47 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
  •