ann.util.Query

 

Query.java -- a class that provides query methods.

 

public static boolean moreValues()

moreValues() queries users if they have more values to enter.

Return: true if user's response is 'y' or 'Y' and false otherwise

 

public static boolean goOn()

goOn() queries users if they wish to continue.

Return: true if user's response is 'y' or 'Y' and false otherwise

 

public static boolean done()

done() queries users if they are finshed.

Return: true if user's response is 'y' or 'Y' and false otherwise

 

 


Back to the package documentation index


Back to the Introduction


Copyright 2000 by Prentice Hall. All rights reserved.