how can I get the binary value of a character Ex: Letter C (ASCII Code= 067) To Binary value 01000011.
Asked
Active
Viewed 2.8k times
5
-
2You got it. A char *is* binary. – Hot Licks Mar 25 '13 at 02:33
-
1It depends. What encoding do you want? – SLaks Mar 25 '13 at 02:34
1 Answers
17
Use Integer.toBinaryString(character...);

m0skit0
- 25,268
- 11
- 79
- 127

Anthony Raimondo
- 1,621
- 2
- 24
- 40