Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (9.5k points)

Can anyone tell me what’s the best way to convert an int to a binary string representation in Java?

1 Answer

0 votes
by (19.7k points)

Check out the below code implementation:

Integer.toBinaryString(int i)

Interested in Java? Check out this Java Certification by Intellipaat.

Related questions

0 votes
1 answer
asked Feb 24, 2021 in Java by sheela_singh (9.5k points)
0 votes
1 answer
asked Feb 7, 2021 in Java by dante07 (13.1k points)
0 votes
1 answer

Browse Categories

...