Java Binary to String boolean2string(boolean b)

Here you can find the source of boolean2string(boolean b)

Description

booleanstring

License

Apache License

Declaration

public static String boolean2string(boolean b) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static String boolean2string(boolean b) {
        return b ? "True" : "False";
    }//from w  ww .  jav a2s  . c  o m
}

Related

  1. binaryToString(byte[] string)
  2. boolean2string(boolean b)