Java Data Type Tutorial - Java Character MIN_VALUE








Syntax

Character.MIN_VALUE has the following syntax.

public static final char MIN_VALUE

Example

In the following code shows how to use Character.MIN_VALUE field.


public class Main{
   public static void main(String[] args) {
     String s = String.format ("\\u%04x", (int)Character.MIN_VALUE);
     System.out.println(s);
     
   }
}

The code above generates the following result.