Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 756 Bytes

README.md

File metadata and controls

21 lines (18 loc) · 756 Bytes

Basic-Input-in-Java-simplified

Ever felt frustrated to create an object and input a string and then convert to the required type or experienced any issues while input. If so, this repo is just for you.

Using

Using this is fairly simple. You don't even have to create the object of the class. Use the static functions for the inputs by :

int a = Input.inputInt();
char c = Input.inputChar();
double d = Input.inputDouble();
...

Sometimes you have to print something to ask for input, so here you can just pass that as a String argument for the function like :

int a = Input.inputInt("Enter a number : ");
...

Download

You can download this jar file from the source or from the releases

Hope you felt this useful. 😄