Ghislain_Mike

TestClass.java

Oct 20th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.20 KB | None | 0 0
  1. public class TestClass {
  2. public static void main(String [] args) {
  3. Book book1 = new Book(“Bible”, “jesus”, 1000, 23);
  4. Book book2 = new Book();
  5.  
  6. book1.printBookInfo();
  7. book2.printBookInfo();
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment