Answers for "output of this"

0

output of this

import java.util.Scanner;
public class LearnScanner {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.println("Welcome!");
System.out.print("What is your name?");
String name = input.next();
System.out.println("Hello " + name);
}
}
Posted by: Guest on October-04-2021

Browse Popular Code Answers by Language