public class Books {
String Bookname;
int Bookid;
double Salary;
class Books (String Bookname, int Bookid, double Salary){
Bookname = Bookname;
Bookid = Bookid;
Salary = Salary;
}
public void print(){
System.out.println(" the name of the book is" + Bookname);
System.out.println( " the book's id is "+ Bookid);
System.out.println(" and it costs" + Salary);
}
}