Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Hamish Jones   on Jul 04 In Java Category.

  
Question Answered By: Aberto Rossi   on Jul 04

What are you trying to access?

If you are trying to access some data from the first one, can you pass
it along?

B b = new B(withSomeDataFromAForAConstructor);

or

B b = new B();
b.runSomeMethodInB(withSomeDataFromA);

or a combination of both.

Share: 

 

This Question has 7 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on get reference to container class Or get search suggestion and latest updates.


Tagged: