2023.DEC.08(FRI) JAVA DAY5_별 숫자 늘리고 줄여서 다이아몬드 모양
✅ Daily Report 📌 TO-DO LIST submit github blog post study yalco method, scanner lesson 17, 18, 19, 20, 21, 22 assigment: make stars into diamond array using for ✅ Today I Lea...
✅ Daily Report 📌 TO-DO LIST submit github blog post study yalco method, scanner lesson 17, 18, 19, 20, 21, 22 assigment: make stars into diamond array using for ✅ Today I Lea...
✅ to use scanner import Scanner sc = new Scanner(System.in); ✅ string String input = sc.nextLine(); ✅ other datatype boolean bool = sc.nextBoolean(); int intNum = sc.nextInt(); double db...
✅ 메소드의 의미 반복을 최소화한다. 한 번 이상 실행할 수 있는 일련의 작업들을 묶는다. return값을 반환한다. ⭐️ 반환이란: ✅ 메소드 선언 방법 ☑️ 문법 return 없다면? public static void main(String[] args) { printWhatISay("I love JAVA"); ...
✅ Daily Report 📌 TO-DO LIST submit github blog post study yalco if, for lesson 16 assigment: movie alert program using if and age ✅ Today I Learned ✔️ if in java ✔️ switch ...
✅ if: boolean값으로 판단 //빈 string안에다가 점점 추가할 수도 있다. boolean wantCoffee= true; boolean likeMilk= false; boolean coldWeather = true; boolean likeSweet= false; i...
✅ for if(변수 초기화, 루프 조건, 루프 끝나면 이행할 내용) for (int i=0; i<10; i++){ System.out.println(i); } //똑같은 코드 for (int i=0; i<10;){ System.out.println(i); i++; } for문 안에 ...
✅ Daily Report 📌 TO-DO LIST submit github blog post study yalco 6, 7 lesson 15 assigment: program using boolean and operator assigment: how to change unicode into char ✅ To...
✅ String is immutable reference type, 값을 바꿔도 저장한 다른 값에 영향을 미친다. 💡 length() 문자열 길이 반환 String str= "Hello" int int1 = str.length(); //int1= 5; int int2= "World".length(); //int2= 5; 💡 isEmpty(...
✅ Symbolic 상수 한번 정하면 다시는 바꿀 수 없는 값 Symbolic 상수 이름지을 때는 대문자 + "_" 조건문에서 절대 변하면 안 되는 조건들을 상수로 정의하기 좋음. 어짜피 안 변하니까! final int MY_NUM = 100; MY_NUM = 200; //❌ final double MY_DOUBLE = 123.456; ...
✅ Daily Report 📌 TO-DO LIST submit github blog post study lesson 12, 13, 14 yalco JAVA assigment: what is difference between parrellism and concurrency? ✅ Today I Learned JA...