Package main.utils.iocontrol
Class IntGetter
java.lang.Object
main.utils.iocontrol.IntGetter
The IntGetter class provides a static method for reading integer input from the user through the console.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
readInt()
Reads an integer value from the console input.
-
Constructor Details
-
IntGetter
public IntGetter()
-
-
Method Details
-
readInt
public static int readInt()Reads an integer value from the console input.- Returns:
- the integer value read from the console input.
-