Android Java Convert Boolean ke String
public class Demo {
public static void main(String[] args) {
boolean bool1 = false;
boolean bool2 = true;
String str1 = new Boolean(bool1).toString();
String str2 = new Boolean(bool2).toString();
System.out.println(str1);
System.out.println(str2);
}
}
Narongdetch