+ 1

public class program { public static void main(String[] args) { String firstName, lastName; firstName="Mahmudul"; lastNam

If there is any fault

28th Aug 2017, 11:20 AM
Mahmudul Hasan
Mahmudul Hasan - avatar
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.]
28th Aug 2017, 11:21 AM
Tashi N
Tashi N - avatar
+ 7
The method's name is println with a lowercased L instead of an uppercased i. Stands for print line.
28th Aug 2017, 11:27 AM
Tashi N
Tashi N - avatar
29th Aug 2017, 6:33 AM
Tashi N
Tashi N - avatar
+ 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); } }
28th Aug 2017, 11:24 AM
Mahmudul Hasan
Mahmudul Hasan - avatar
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
28th Aug 2017, 11:25 PM
Mahmudul Hasan
Mahmudul Hasan - avatar