Java Character.lowSurrogate(int codePoint)
Syntax
Character.lowSurrogate(int codePoint) has the following syntax.
public static char lowSurrogate(int codePoint)
Example
In the following code shows how to use Character.lowSurrogate(int codePoint) method.
public class Main {
/*from ww w. jav a 2 s.com*/
public static void main(String[] args) {
int cp1 = 0x001c; // represents FILE SEPARATOR
int cp2 = 0x0abc;
System.out.println( Character.lowSurrogate(cp1) );
System.out.println( Character.lowSurrogate(cp2) );
}
}
The code above generates the following result.