Methods of the class IOTools:
The class IO Tools contains the static methods for the Input operations. So IOTools.readDouble() is the correct way to call them. A description of the available methods follows:
- int readInteger() and int readInteger(String prompt). This method will ask for an integer when executed, in the second case, a prompt will be given when asking for the input.
- long readLong() and long readLong(String prompt). This method will ask for an long integer when executed, in the second case, a prompt will be given when asking for the input.
- float readFloat() and float readFloat(String prompt). This method will ask for a real number in normal precision (float) when executed, in the second case, a prompt will be given when asking for the input.
- double readDouble() and double readDouble(String prompt). This method will ask for a real number with double precision when executed, in the second case, a prompt will be given when asking for the input.
- char readChar() and char readChar(String prompt). This method will ask for a single character when executed, in the second case, a prompt will be given when asking for the input.
- String readString() and String readString(String prompt). This method will ask for a string of characters when executed, in the second case, a prompt will be given when asking for the input.



