JAVA
2022. 9. 22.
220922
eclipse ScannerEx 입력 방법에 대한 내용 Scanner scan = new Scanner(System.in); -입력을 받고, 스캐너에 전달하겠다. eclipse ArrayEx 5.6.7.8.번 특히 중요. 암기할 것 5. System.out.println( Arrays.toString(arr) ); 6. System.out.println(arr.Length); 7. byte[] arr2 = new byte[10]; 8. int[] arr3 = {1,2,3,4,5,6,7,8}; eclipse IfEx if else 조건은 위에서 아래로, 참or거짓에 따라 진행된다. eclipse IfEx02 조건에 맞는 내용은 else if문에 오기 전에 차근차근 걸러진다. if문은 main 안이라면 어디..