cannot find symbol on new Book()
hi, i have problem with NetBean error when create program below:
class library{
....
main(){
Library xxx = new Library();
xxx.fillMe();
...}
private void fillMe(){
...
libCat = new Cat(10);
...
// populate Cat
System.out.print("something");
Book book1 = new Book("something2");
libCat.addBook(book1);...
libCat.printCatalogue();
}
}
the error:
symbol : constructor Book(java.lang.String,java.lang.String,java.lang.String)
location: class Book
it runderlining with the above error with underline red line, can anyone help please?
thanks
chilli
[696 byte] By [
JoinBiga] at [2007-10-2 18:33:18]

yeh, i did, i did on the Book.java class:
......
Book libbook = new Book();
libbook.printDetails();
....
but error still:
please see:|
xxxxxxxxxxxxxxxxxxxxxxx
init:
deps-jar:
Compiling 1 source file to E:\NetBeans java projects\MyProject06\build\classes
E:\NetBeans java projects\MyProject06\src\Library.java:51: cannot find symbol
symbol : constructor Book(java.lang.String,java.lang.String,int)
location: class Book
Book book1 = new Book("Java Essential , "Cay Horstmann", 2003);
E:\NetBeans java projects\MyProject06\src\Library.java:54: cannot find symbol
symbol : constructor Book(java.lang.String,java.lang.String,int)
location: class Book
Book book2 = new Book("Net Hacking ", "James Bond", 2001);
E:\NetBeans java projects\MyProject06\src\Library.java:57: cannot find symbol
symbol : constructor Book(java.lang.String,java.lang.String,int)
location: class Book
Book book3 = new Book("Internet and Networking Unleashed", "Tom Cruise", 2002);
E:\NetBeans java projects\MyProject06\src\Library.java:60: cannot find symbol
symbol : constructor Book(java.lang.String,java.lang.String,int)
location: class Book
Book book4 = new Book("Windows NT Server 4 Explorer", "Jackie Gibson", 1998);
E:\NetBeans java projects\MyProject06\src\Library.java:64: cannot find symbol
symbol : constructor Book(java.lang.String,java.lang.String,int)
location: class Book
Book book5 = new Book("Upgrade and Build Your Own PC", "Wesley Snipes", 2003);
5 errors
BUILD FAILED (total time: 1 minute 26 seconds)
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
thanks in advance