Character.lowSurrogate(int codePoint) has the following syntax.
public static char lowSurrogate(int codePoint)
In the following code shows how to use Character.lowSurrogate(int codePoint) method.
public class Main { //from ww w . j a v a2s. c o m 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.