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.





















Home »
  Java Tutorial »
    java.lang »




Boolean
Byte
Character
Class
Double
Enum
Float
Integer
Long
Math
Number
Object
Package
Process
ProcessBuilder
Runnable
Runtime
SecurityManager
Short
StackTraceElement
StrictMath
String
StringBuffer
StringBuilder
System
Thread
ThreadGroup
ThreadLocal
Throwable