Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Integer.parseInt(args[0]) in JAVA
Integer.parseInt(args[0]) in JAVA
1. Define a public class named ChengJiDengJi.

2。 Define the main method, which is the entrance of the program.

3. A plastic variable named Ji Cheng is defined, and its initial value comes from the keyboard parameters when the program is running. Because keyboard parameters are all string inputs, you need to use Integer.parseInt to forcibly convert them into int, that is, shaping.

4. A character variable named Deng Ji is defined.

5. If (Ji Cheng & gt = 90&Ji Cheng <= 100){ If the score is between 90 and 100.