CookieCorner
Free Courses     Free Gallery     Free Library     Free FAQS     Free Links     Free Speech    



Free Java Package: cuiUtil

Brief:
    This package contains console (ie command line) based functions.

Program Listing
  1. Input.java

How to use:

    public static void main(String args[]) throws Exception {
        String t;
        System.out.print("Please type a string: ");
        t = Input.askAString(); // will wait for the user to type a String
        System.out.println("The user typed: " + t);
    }

Download this package including the example files in here.

home | main | top