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: Nina Garcia   on Jul 04

I new to java, however from the code I’ve read you need to add a
constructor in your inner class  with a reference  similar to the
following:


Class a {

void a(b context) {


}
}

Then instantiate with

a myA=new a(this);

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: