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

Popular posts from this blog

How to install MinGW in 2022 | How to install c compiler for windows.| How to set path for c compiler minGW