wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Why this program is giving Compile error? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Why this program is giving Compile error?" Watch "Why this program is giving Compile error?" New topic
Author

Why this program is giving Compile error?

vishal mishra
Ranch Hand

Joined: Jul 12, 2010
Posts: 103
NAMASTE Friends !!

Please Explain why character literal char a='\u000A' is giving compile error..

Error-:" ADirtyOne.java:4:error: illegal line end in character literal char a='\u000A';"

Program is given below-:


Thankyou...
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 10916
    
  12

compiler errors are given because there is some kind of syntax error.

Of course, you could search this forum, and find this or this, which cover the same question.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
vishal mishra
Ranch Hand

Joined: Jul 12, 2010
Posts: 103
Thank you !!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why this program is giving Compile error?
 
Similar Threads
Compile time Difference between // and /* */
Few Tough questions
Unicode Value????
Unicode representation of a character
unicode character