This is the first Java program I wrote.
1. Capitalize the first letter of the class name
2. Public static void main (String [] args), currently this is a fixed format, where the parameters in main must be String [] args or String args [].
3. The output statement has System. out.println / print / printf and other
println will wrap after the print , the cursor is at the beginning of the next line;
print does not wrap, the cursor is at the beginning of the line;
printf can be output in a fixed format, the content is rounded, such as System.out.printf ("%. 2f ", a) is to output the variable a in two-digit format.
Critics and corrections are welcome. If you have any questions, please contact QQ group 1085585086.