Computer Science, asked by bhowmickjayanti15, 7 months ago

Write a program in Java to input a name and display the name ​

Answers

Answered by archanapatil91
0

Answer:

Islamism premal palak salam kelel karma

Answered by madandev1994
4

Answer:

import java.util.Scanner;

class NameExample {

public static void main(String[]args)

{

String name;

Scanner sc = new Scanner (System.in);

System.out.println("Enter the name");

name = sc.nextLine();

System.out.println(name);

}

}

Similar questions