/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package lab2stuff; import java.util.Scanner; /** * Testing class * @author jcmt */ public class Lab2stuff { /** * @param args the command line arguments */ public static void main(String[] args) { Library mylib = new Library(); // Get user's choice of action int userin = menuChoices(); /** * Implement user's choice */ } public static int menuChoices() { System.out.println("Please choose a library function by the number:"); System.out.println("1. Add a new book to the library"); System.out.println("3. Check out a book from the library"); Scanner in = new Scanner(System.in); int n = in.nextInt(); return n; } } }