무회blog

Java: 자바 test。B01 본문

Java

Java: 자바 test。B01

최무회 2020. 7. 21. 12:03

package test.basic;

public class B01_Hello {

          public static void sum(int a, int b) {

                    int sum = a + b;

                    System.out.println(sum);

          }

          public static void main(String[] args) {

                    sum(20, 20);

                    int n = 10;

                    String str = "ABC";

                    // str: ABC

                    for (int i = 1; i < 10; i++) {

                              for (int j = 0; j < 5; j++) {

                                        if(n == 3){

                                                  if(n == 2){

                                                            

                                                  }

                                        }

                              }

                    }

                    System.out.println(n + "내용기재.!!!" + n);

                    System.out.println("str : " + str);

          }

}


Comments