¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita- 6
Hi
Houw we do a binary java ?
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.