+ 5
Can any one explain me about strings and booleans?
in brief
3 Answers
+ 6
String is text variable and boolean is logical variable.
+ 3
There are two values in boolean, "true" and "false".
but in the case of String you can enter any thing as String(even numbers),example: String c= "Cool";
String c="5";
+ 1
string is array of characters...
while boolean is data type which holds true or fase