Results 1 to 3 of 3
  1. #1
    jack DANIEL's is offline Member
    Join Date
    Oct 2010
    Posts
    7
    Rep Power
    0

    Default Recalling an object from an external class

    Hello everybody,

    I'm writing a method M1 inside a class A that needs to act on a vector defined in a different class B (the one with the main method). Is there a way to recall the vector defined inside B to be edited inside A?

    The method M1 is called inside the class B as the result of an If clause.

    Thanks in advance for the helpfulness

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

  3. #3
    jack DANIEL's is offline Member
    Join Date
    Oct 2010
    Posts
    7
    Rep Power
    0

    Default

    Mmmh...seems like you told me a quite smart thing...I haven't thought about that...thanks for the hint, I'll try this way...:D

Similar Threads

  1. Replies: 2
    Last Post: 06-22-2010, 05:29 AM
  2. Dynamic Class Loading from external Jar
    By AndreB in forum Advanced Java
    Replies: 3
    Last Post: 02-08-2010, 02:55 PM
  3. Run external programs using runtime class
    By JBird in forum New To Java
    Replies: 3
    Last Post: 08-06-2009, 03:37 AM
  4. Problems adding an external class
    By jan2321 in forum Eclipse
    Replies: 2
    Last Post: 11-06-2008, 11:34 AM
  5. Creating object of Type Object class
    By venkatv in forum New To Java
    Replies: 3
    Last Post: 07-17-2007, 04:33 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
  •