Results 1 to 2 of 2
  1. #1
    adamsquared is offline Member
    Join Date
    Jun 2011
    Posts
    1
    Rep Power
    0

    Default Interrelating blueprint classes

    This is my first post so let me say hello and thanks you all for being smarter than me :)

    I want to interrelate two blueprint classes I've written, one named an Environment, the other a Measurer. I want a Measurer to have an Environment as one of its fields. If I pass the measurer's constructor object an environment object Ive constructed, will it copy the environment object, or just hold a reference to the object?

    Thank you so much guys!

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,587
    Rep Power
    25

    Default

    will it copy the environment object, or just hold a reference to the object
    It could do either. The easy one is hold the reference.

Similar Threads

  1. Help with classes
    By Exothesis in forum New To Java
    Replies: 11
    Last Post: 10-11-2010, 03:00 AM
  2. gui classes
    By phantom135 in forum AWT / Swing
    Replies: 12
    Last Post: 08-05-2010, 06:28 PM
  3. Cant run my classes
    By Assaf A in forum Eclipse
    Replies: 1
    Last Post: 04-22-2008, 03:31 PM
  4. Help with classes
    By freswood in forum New To Java
    Replies: 5
    Last Post: 04-21-2008, 04:28 PM
  5. Using a JAR from other classes
    By Joe2003 in forum Advanced Java
    Replies: 1
    Last Post: 01-02-2008, 08:08 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
  •