0
How to display data from keyboard
to scan
3 Answers
+ 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