CODING:
public class JavaBooleanToStringExample {
public static void main(String[] args) {
Boolean blnObj = new Boolean("true");
String str = blnObj.toString();
System.out.println(str);
}
}
public class JavaBooleanToStringExample {
public static void main(String[] args) {
Boolean blnObj = new Boolean("true");
String str = blnObj.toString();
System.out.println(str);
}
}
OUTPUT:
Comments
Post a Comment