Java Java Basics Getting Started with Java Strings and Variables

JavaTester.java:73: error: illegal start of expression public class Name{ ^ 1 error

how i handle this?

public class Name{ public static void main(String [] args){ Console console = System.console(); String firstName = "Mohamed" ; Console.printf("Hello,my name is %s \n ,firstName"); Console.printf(" %s is learning Java"); } }