Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - How java Converts Binary Strings into Integers
How java Converts Binary Strings into Integers
Java converts binary to Integer, which can be converted by the method of Integer class, as shown below:

Integer.parseInt("80000000 ",2); Integer belongs to the wrapper class of the basic type of int, which can realize the mutual conversion of various types, and can also be output as string type, just using the toString () method.