Create InputModelJava

the metod to input a type of data and the verification about it.