+ 1
public class program { public static void main(String[] args) { String firstName, lastName; firstName="Mahmudul"; lastNam
If there is any fault
5 odpowiedzi
+ 8
It's incomplete... Try pasting your full code to the playground and then add a link to it here.
[Class names should start with an uppercase letter (Program), but that's not an error.]
+ 7
The method's name is println with a lowercased L instead of an uppercased i. Stands for print line.
+ 4
Works on my phone ;)
https://code.sololearn.com/czI3JN4e77zr/?ref=app
+ 1
public class program {
public static void main(String[] args) {
String firstName, lastName;
firstName="Mahmudul";
lastName="Hasan";
System.out.printIn("My name is"+ firstName+""+lastName);
}
}
0
I am using on my phone a software for editing code but when I run the code it shows error message. I tried the correction but it is still the same