Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class TestBook
- {
- public static void main(String[] args)
- {
- String Title;
- String Category;
- String Author;
- String Publisher;
- int ISBN_13=0;
- int Pages=0;
- double Price=0;
- double Difference=0;
- Title = "The Library of Greek Mythology";
- Category = "Mythology";
- Author = "Apollodorus";
- ISBN_13 = 1229;
- Publisher = "Oxford University Press";
- Pages = 336;
- Price = 13.95;
- Book BookA = new Book(Title, Category, Author, ISBN_13, Publisher, Pages, Price);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement