+ 1

What's the issue with this program?

class FullName{ public static void main (String [] args) { String firstName, secondName; firstName = "Robert"; secondName = "Strovosky"; System.out.println("I'm " + fistName + secondName); } } It doesn't give out a result. 😢

30th Sep 2018, 8:24 PM
Strovosky
Strovosky - avatar
6 odpowiedzi
+ 3
System.out.println("I'm " + firstName + secondName); A typo on "firstName" there ...
30th Sep 2018, 8:32 PM
Ipang
+ 2
Thanks a lot 😅😅
30th Sep 2018, 8:33 PM
Strovosky
Strovosky - avatar
+ 2
You're welcome : )
30th Sep 2018, 8:34 PM
Ipang
+ 1
Where whitespace after 'firstName'?
30th Sep 2018, 9:13 PM
Александр
+ 1
I didn't wtite it. 😅
30th Sep 2018, 9:46 PM
Strovosky
Strovosky - avatar
0
fistName без "r"
18th Oct 2018, 9:36 PM
Khadjiev Sultan
Khadjiev Sultan - avatar