Java examples for java.lang:char
is Octal Digit
//package com.java2s; public class Main { public static void main(String[] argv) throws Exception { char c = 'a'; System.out.println(isOctalDigit(c)); }/* www . ja va2s . co m*/ public static boolean isOctalDigit(char c) { return c >= '0' && c <= '7'; } }