posted 14 years ago
Hi,
I am currently having trouble with a project I am working on. It is to create a simple system for a library.
Here is my code for the library class:
This is the class I am trying to refer to:
With all of that. I have compiled Book.java fine. However, whenever I try to compile Library, I get a "non-static method can be referred from a static context". The library methods are not static.
My question is how can I rearrange the code in my library class to reference borrowed() and returned() in my book class?