Hi!
Thanks for your reply...
Nowonder I didn't find any solutions then!=)
But if I f.e. want to add 15 new books with this method. And all need a title and a auther, doesn't the new ones "overwrite" the old ones?
If I've added one book, then the name of that object is book, and then...
I'm kind of a newbie in Java, so I'm having some problems that hopefully you can solve without problems...
Here's the problem:
public void newbook(String title)
{
Book .... = new Book(); /*where Book is another class*/
}
and were the "...." is, I want the value of title. Have...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.