Simple_Book_Class
Simple_Book_Class
*;
class Book
{
private String memberName;
private int isbn;
private String bookName;
private int price;
private String bookAuthor;
private String publication;
Book()
{
this.memberName = "\0";
this.isbn = 0;
this.bookName = "\0";
this.price = 0;
this.bookAuthor = "\0";
this.publication = "\0";
}
void display()
{
System.out.println("Member Name :" + this.memberName);
System.out.println("Book ISBN :" + this.isbn);
System.out.println("Book Name :" + this.bookName);
System.out.println("Book Price :" + this.price);
System.out.println("Book Author :" + this.bookAuthor);
System.out.println("Book Publication :" + this.publication);
System.out.println("========================================");
}
};