Chars & Encodings

Literals in Java

 

Literals are numbers, characters, and string representations in your program. Literals can be classified as numeric literals, character literals and string literals.

 

Best Practices for Serialization in Java

This article lays down some of the best practices which you can use during your design or code reviews, and assumes that you are familiar with the basics of serialization in java. Consider using custom serialized form and don’t use the default serialized form provided by Java even if you have decided to design only the APIs perfectly for time being releasing a throwaway implementation and then replace it with a better one in future release.

Platform Specific Line Separator in Java

The line separator is the name given to the character or characters used to separate lines of text, and vary from platform to platform.

Charset and Encodings

Charset is a combination of a coded character set and a character-encoding scheme. Here ‘set’ refers to the set of characters and their numbers (code points), and ‘encoding’ refers to the representation of these code points. We will also discuss common encoding related errors.

Unicode Escapes In Java

All Unicode characters can be used in comments, character and string literals in java. Unicode characters can be expressed through Unicode Escape Sequences. 

Unicode escape sequences consist of

What is Unicode?

Unicode is a computing industry standard for the consistent encoding, representation and handling of text expressed in most of the world's writing systems. The objective of Unicode is to unify all the different encoding schemes so that the confusion between computers can be limited as much as possible. Currently the Unicode standard defines values for over 100,000 characters.

Escape Sequences in Java with Examples

Escape characters (also called escape sequences or escape codes) in general are used to signal an alternative interpretation of a series of characters. In Java, a character preceded by a backslash (\) is an escape sequence and has special meaning to the java compiler. 

Search the Web

Custom Search

Searches whole web. Use the search in the right sidebar to search only within javajee.com!!!