Implement a function which convert the given boolean value into its string representation.
Note: Only valid inputs will be given.
Solution
public class BooleanToString {
public static String convert(boolean b) {
return Boolean.toString(b);
}
}