
class Unicode { public static void main(String args[]) { char ch='\000a'; System.out.println("ch is:"+ch); } }
on compilation this gives following errore:: CharLiteral6.java:5: error: illegal line end in character literal char ch='\u000a'; ^ 1 error
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
