Top community members
All Questions Ask Question

Welcome to Dirask IT community! ❤ 💻
We are community of people that helps each other.

If you think you have some skills to help others

help someone and become a part of our community - List Q & A

How to convert binary String to int in java?

0 answers
14 points

For example when I have:

//                      binary str // int
String binaryString1 = "00000101"; // -> 5
String binaryString2 = "00001000"; // -> 8
String binaryString3 = "11111111"; // -> 255

What is the best way I can convert those numbers to integer in java?

0 answers

Checkout latest Findings & News:

Checkout latest questions:

Checkout latest wiki articles:

Hey 👋
Would you like to know what we do?
  • Dirask is IT community, where we share coding knowledge and help each other to solve coding problems.
  • We welcome everyone,
    no matter what the experience,
    no matter how basic the question is,
    this community will help you.
Read more