2023.DEC.07(THU) JAVA DAY4
β 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 ...
β 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...
β Char one letter 16-bit Unicode can show letter, number, symbol λ¨μΌκ° β String several letters several chars can be caculated λ¬Έμλ€μ μ°μμ μΈ κ° λ°μ΄ν° νμ μ μ§μ λ λ©λͺ¨λ¦¬ κ°μ΄ λ§€λ² λ¬λΌμ μ ν μκ° μμ β‘οΈ...
β λ¨νμ°μ°μ Unary Operator difference between X++ VS ++X λ λ€ Xμ κ°μ 1μ© μ¦κ°μν€λλ°, κ·Έ μκΈ°κ° λ€λ₯΄λ€. X++μ μ¦κ°μν¨ ν κ·Έ κ°μ μ΄νλΆν° μ μ©, X++ λ€μλΆν° ++Xλ 미리 μ¦κ°μμΌμ λ°λ‘ μ μ©. μ§κΈ λΉμ₯ ++X int x1 = 3; int y1= 3; ...
β μ μμ ν¬κΈ° κ° λ³μμ μλ§λ λ©λͺ¨λ¦¬ μ©λμ λ°°μ νλ€. 맨 μ 0,1μ +, - νμ νλλ° μ. bit: 0,1 byte: 8bits max: 127 min: -128 (-2μ 7μ κ³±) short: 2bytes int: 4bytes max: 2μ 31μΉ-1 min: -2μ 31μΉ long: 16bytes β μ€μ flo...