how to check number is binary or not in java

welcome to shbcf.ru