Main.java 909 B

12345678910111213141516171819202122232425
  1. package com.platform;
  2. /**
  3. * @Author: 马超伟
  4. * @CreateTime: 2025-09-30
  5. * @Description: ${description}
  6. * @Version: 1.0
  7. */
  8. //TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
  9. // click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
  10. public class Main {
  11. public static void main(String[] args) {
  12. //TIP Press <shortcut actionId="ShowIntentionActions"/> with your caret at the highlighted text
  13. // to see how IntelliJ IDEA suggests fixing it.
  14. System.out.printf("Hello and welcome!");
  15. for (int i = 1; i <= 5; i++) {
  16. //TIP Press <shortcut actionId="Debug"/> to start debugging your code. We have set one <icon src="AllIcons.Debugger.Db_set_breakpoint"/> breakpoint
  17. // for you, but you can always add more by pressing <shortcut actionId="ToggleLineBreakpoint"/>.
  18. System.out.println("i = " + i);
  19. }
  20. }
  21. }