0

Write your name in Java lenguage

14th Feb 2017, 6:32 AM
Suman Roy
Suman Roy - avatar
5 odpowiedzi
+ 9
poo in loo
14th Feb 2017, 6:34 AM
Ahri Fox
Ahri Fox - avatar
0
import java.util.Scanner; public class Name { public static void main(String[] args) { Scanner s = new Scanner(System.in); System.out.println("Enter your name: "); String name = s.next(); System.out.println("Hello " + name); } }
14th Feb 2017, 8:44 AM
Vincent
0
import java.util.scanner; class Name{ public static void main(string[ ]args){ scanner in=new scanner(system.in); System.out.println("Enter your name:"); string name=s.next(); System.out.println("Hello" + name); } }
14th Feb 2017, 2:56 PM
Sunil Kumar
Sunil Kumar - avatar
0
import java.util.Scanner; public class Name { public static void main(String[] args) { Scanner s = new Scanner(System.in); System.out.println("Enter name: "); String name = s.next(); System.out.println( name); } }
15th Feb 2017, 3:22 AM
Deepthi Gunasekara
Deepthi Gunasekara - avatar
0
please write a name of yours
15th Feb 2017, 7:12 AM
Suman Roy
Suman Roy - avatar