What are the syntax errors from the following program?
public class Enigma
{
public static void main(String[ ] args)
{
System.out.println("Input a String");
String x = scan.nextString( );
int size = ;
char last = x.charAt(size);
System.out.println("The last character in your string ", x, " is ", last);
}
}

Q&A Platform for Education
Platform Explore for Education