Java programme to print name . java programme to print string .
package google ;
import java.util.Scanner;
public class nilesh {
public static void main (String args []){
Scanner s=new Scanner (System.in);
String name =s.nextLine();
System.out.println("Hello "+name+" have a good day");
}}
Comments
Post a Comment