Welcome to the Treehouse Community
Looking to learn something new?
whats wrong with my code
i dont know wats wrong
// I have setup a java.io.Console object for you named console String firstName="Jonathan";console.printf("Hello,my name is %s\n", firstName); console.printf("%s can code in Java!", firstName);
Antonio De Rose20,882 Points
I think you have to clean the mess in your code, give separate lines, for code only to increase the readability, and remove all the preceding whitespaces, and the second line does seem like like is not wanted and redundant, actually it is not second line, as you have continued with the semicolon.