This is the simple program of java.lang package. In this example, we are going to convert decimal number to its corresponding character.
Here, define class named ?DecimalToChar? for java component. This program takes a decimal value. Type casting (char) d ) is done to convert the decimal into the corresponding character..
Here is the code of this program:
Output of this program given below.
Enter the Decimal number:
Enter decimal number is:=65
Rs. 20,000 US$ 300
Today: Rs. 10,000 US$150
Course Duration: 30 hrs
Posted on: July 10, 2007 If you enjoyed this post then why not add us on Google+? Add us to your Circles