Hi | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
- 6

Hi

Houw we do a binary java ?

20th Jan 2022, 1:28 AM
Med Ahmed
1 Respuesta
0
Hello Med Ahmed If you want to convert a number to binary you can do this: Integer.toString(number, 2); Works also with Long or BigInteger.
20th Jan 2022, 10:26 AM
Denise Roßberg
Denise Roßberg - avatar