SyntaxFix
Write A Post
Hire A Developer
Questions
System.out.println("First Name: " + firstname); System.out.println("Last Name: " + lastname);
or
System.out.println(String.format("First Name: %s", firstname)); System.out.println(String.format("Last Name: %s", lastname));