Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Calling a method from another class?

 
celine scarlett
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How do I get 'private Borrower addBorrower' in the class BorrowerListManager to call the method 'private boolean add' in the class BorrowerList.

I'm getting a bit confused with all the links so far.

1. Code for the BorrowerListManager class,



2. Method code from the class BorrowerList,



Any help appreciated!!
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

[ November 22, 2005: Message edited by: Joanne Neal ]
 
celine scarlett
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thanks for the reply. I don't understand what code is required in the 'private Borrower addBorrower()' method within the BorrowerListManager class.

Any help appreciated!!
 
Ben Wood
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


becomes...

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic