Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 588 Bytes

File metadata and controls

8 lines (7 loc) · 588 Bytes
Escape Character Example
New Line System.out.println("a \n deneme");
Horizontal Space System.out.println("a \t deneme");
Unicode System.out.println("Heart Symbol: \u2764");

Unicode Escape Characters in Java

In Java, Unicode escape characters allow you to represent characters that may not be easily typable on a keyboard. These escape sequences are written using the format: \uXXXX(a four-digit hexadecimal number)