In this section, we are going to convert a Boolean type data into a string.
This program helps you in converting the Boolean type data into a string. The toString() method reads the Boolean type object and it converts into a string format. This method returns a string object and represents the boolean?s value. The Boolean object represents either ?true? or ?false".
Here is the code of this program:
Output this program.
Posted on: July 4, 2007 If you enjoyed this post then why not add us on Google+? Add us to your Circles