java.lang.Character isIdeographic(int codePoint)

Description

The Character.isIdeographic(int codePoint) java method determines if the specified character (Unicode code point) is a CJKV (Chinese, Japanese, Korean and Vietnamese) ideograph, as defined by the Unicode Standard.

The isIdeographic(int codePoint) method of Character class is static thus it should be accessed statically which means the we would be calling this method in this format:

Non static method is usually called by just declaring method_name(argument) however in this case since the method is static, it should be called by appending the class name as suffix. We will be encountering a compilation problem if we call the java isIdeographic() method non statically.

Method Syntax

public static boolean isIdeographic(int codePoint)

Method Argument

Data Type Parameter Description
int codepoint the character (Unicode code point) to be tested.

Method Returns

The isIdeographic(int codePoint) method of Character class returns true if the character is a Unicode ideograph character, false otherwise.

Compatibility

Requires Java 1.7 and up

Java Character isIdeographic(int codePoint) Example

Below is a simple java example on the usage of isIdeographic(int codePoint) method of Character class.

Sample Output

Below is the sample output when you run the above example.

java Character isIdeographic(int codePoint) example output