public class getBooleanDemo {
public static void main(String args[]){
boolean b;
String propertyName ="true";
b = Boolean.getBoolean(propertyName);
System.out.println(b);
}
}
Can you pl explain me what getBoolean does ?
I am reading this in the Book and it says propertyName should be system property. I am not clear.
Thanks for solution
public static void main(String args[]){
boolean b;
String propertyName ="true";
b = Boolean.getBoolean(propertyName);
System.out.println(b);
}
}
Can you pl explain me what getBoolean does ?
I am reading this in the Book and it says propertyName should be system property. I am not clear.
Thanks for solution