5

how can I get the binary value of a character Ex: Letter C (ASCII Code= 067) To Binary value 01000011.

Ruru Morlano
  • 209
  • 1
  • 4
  • 9

1 Answers1

17

Use Integer.toBinaryString(character...);

m0skit0
  • 25,268
  • 11
  • 79
  • 127
Anthony Raimondo
  • 1,621
  • 2
  • 24
  • 40