key in the program class Welcome 1 and add another line prin

key in the program class Welcome 1 and add another line println statement to display your name in java

Solution

Answer:

Import Java.lang.String:

Class display

{

Public static void main(String args[])

{

Scanner ip=new Scanner (System. In) ;

strong ch;

System. Out. Println(\"enter your name\");

Ch=ip.nextLine();

System. Out println(\"name\"+name) :

}

}

key in the program class Welcome 1 and add another line println statement to display your name in javaSolutionAnswer: Import Java.lang.String: Class display { P

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site