In this example, you will learn how to convert hexadecimal to char number. The following program provides you convert it into the hexa to char number.
Code description:
Here, define class named "HexaToChar"
for java component. The following program define the string class and represents
a character string.
Here is the code of this program:
import java.io.*;
|
Output of this program.
| C:\corejava>java HexaToChar Enter the hexa number: 41 Decimal:=65 Char is:=A C:\corejava> |
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
Ask Questions? Discuss: Convert Hexa To Char View All Comments
Post your Comment