0
How to display data from keyboard
to scan
3 Réponses
+ 33
import java.util.Scanner;
class MyClass {
public static void main(String[ ] args) {
Scanner sc = new Scanner(System.in);
System.out.println(sc.nextLine());
}
}
//hope it helps ☺
+ 3
play with the code provided and blv me it will be more fun along with enhancing your knowledge and interest in such a beautiful language 😊
+ 1
thank u it is really helpful