is Ascii Printable - Java java.lang

Java examples for java.lang:char

Description

is Ascii Printable

Demo Code


//package com.java2s;

public class Main {
    public static boolean isAsciiPrintable(char ch) {
        return ch >= 32 && ch < 127;
    }/* w  ww  . j  a  v a 2 s  .  c  o  m*/
}

Related Tutorials