Online Java Compiler By
JavaTpoint.com
public class JavaCharacterisISOControlExample_1 { public static void main(String args[]){ // Initialize three codepoints. int codepoint1 = 28; int codepoint2 = 13480; int codepoint3 = 13542; // Check whether the codepoints are isISOControl character or not. boolean check1 = Character.isISOControl(codepoint1); boolean check2 = Character.isISOControl(codepoint2); boolean check3 = Character.isISOControl(codepoint3); // Print the result. System.err.print("The first codepoint \'"+codepoint1+"\' is an ISO Control: "+check1+ "\n"); System.err.print("The second codepoint \'"+codepoint2+"\' is an ISO Control: "+check2+"\n"); System.err.print("The third codepoint \'"+codepoint3+"\' is an ISO Control: "+check3+"\n"); } }
Output