Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class TestClass {
- public static void main(String [] args) {
- Book book1 = new Book(“Bible”, “jesus”, 1000, 23);
- Book book2 = new Book();
- book1.printBookInfo();
- book2.printBookInfo();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment