Java Character.isTitleCase(int codePoint)

Syntax

Character.isTitleCase(int codePoint) has the following syntax.

public static boolean isTitleCase(int codePoint)

Example

In the following code shows how to use Character.isTitleCase(int codePoint) method.


public class Main {
/*from w w w  . jav a 2 s.  co m*/
   public static void main(String[] args) {
      String str1 = "A titlecase character:" + Character.isTitleCase(0x01c8);
      String str2 = "A titlecase character:" + Character.isTitleCase(0x1f09);

      System.out.println( str1 );
      System.out.println( str2 );
   }
}

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