0

In python u could insert some kind of a message inside an input,is this possible in java also?

A = input("your input: ") would work in python but doing the same in java would raise an error(example something.nextLine("your input"))

22nd Sep 2022, 11:50 PM
Lenoname
1 Resposta
+ 1
Try it System.out.print("your input ") something.nextLine()
23rd Sep 2022, 12:32 AM
ALI Moussa Kadjalla
ALI Moussa Kadjalla - avatar