Advertisement
Guest User

Untitled

a guest
Mar 18th, 2015
383
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.36 KB | None | 0 0
  1. import cs.ttu.ee.BookShopApi;
  2. import cs.ttu.ee.BookStoreApiException;
  3.  
  4.  
  5.  
  6. public class test {
  7.  
  8.     public static void main(String args[]) {
  9.         BookShopApi a = new BookShopApi();
  10.         try {
  11.             System.out.println(a.getBookByName("Tõde ja õigus"));
  12.         } catch (BookStoreApiException e) {
  13.             // TODO Auto-generated catch block
  14.             e.printStackTrace();
  15.         }
  16.     }
  17.    
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement