Two Laptop Bag*
The moose likes Java in General and the fly likes Calling a method from another class? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Calling a method from another class?" Watch "Calling a method from another class?" New topic
Author

Calling a method from another class?

celine scarlett
Ranch Hand

Joined: Nov 06, 2005
Posts: 93
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

Joined: Aug 05, 2005
Posts: 3681
    
  16

[ November 22, 2005: Message edited by: Joanne Neal ]

Joanne
celine scarlett
Ranch Hand

Joined: Nov 06, 2005
Posts: 93
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

Joined: Aug 14, 2001
Posts: 342


becomes...



SCJP 1.4, www.gsi3d.org.uk
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Calling a method from another class?