You are using wrong Unicode character \8220 for left quote and \8221 for
right quote. You should use a simple Unicode 34 character (\u0022).


2014-02-07 6:33 GMT+01:00 Jaya <[email protected]>:

> I am getting the following error. Can you please tell me what is missing?
>
>
>
>
> c:\MyJavatrainingPrograms>javac Hello.java
>
> Hello.java:7: illegal character: \8220
>  System.out.println(ôHello worldö);
>                     ^
> Hello.java:7: ';' expected
>  System.out.println(ôHello worldö);
>                      ^
> Hello.java:7: illegal character: \8221
>  System.out.println(ôHello worldö);
>                                 ^
> Hello.java:7: not a statement
>  System.out.println(ôHello worldö);
>                            ^
> 4 errors
>
> c:\MyJavatrainingPrograms>
>
> --
> You received this message because you are subscribed to the Google Groups
> "JPassion.com: Java Programming" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> Visit this group at http://groups.google.com/group/jpassion_java.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"JPassion.com: Java Programming" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/jpassion_java.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to