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 tried for hours, but I can't find any solution.=( Is there anyway I can do this?
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 tried for hours, but I can't find any solution.=( Is there anyway I can do this?