Program that inputs an integer and converts it to binary, but the method returns an int not a string?

后端 未结 0 628
醉话见心
醉话见心 2021-01-07 10:33

I tried casting and such with the method Integer.toBinaryString(n), but it makes me change my data type in the method to a String, when I want an int. How do I get around th

相关标签:
回答
  • 消灭零回复
提交回复
热议问题