Optional
✅ NPE(= Null Point Exception) Java reference type은 모두 Null 로 초기화되어 있다. 따라서 NPE는 언제 어디서나 발생 가능 NPE 발생하는 경우 null로 된 값의 메소드나 필드 참조 시 NPE 발생 String array의 기본값이 null이라서 NPE 발생 NPE 해결 방안 ...
✅ NPE(= Null Point Exception) Java reference type은 모두 Null 로 초기화되어 있다. 따라서 NPE는 언제 어디서나 발생 가능 NPE 발생하는 경우 null로 된 값의 메소드나 필드 참조 시 NPE 발생 String array의 기본값이 null이라서 NPE 발생 NPE 해결 방안 ...
1️⃣ Router 지능을 가진 경로 배정기 가야할 주소가 주어진다면 자신이 가야할 길을 자동으로 찾아가는 능력을 가진 기기 ✅ 라우터의 기능 1. Path Determination 경로결정 데이터 패킷이 목적지까지 갈 수 있는 길을 검사하고 어떤 길로 가는 것이 가장 적절한지 결정 이를 위해 라우팅 알고리즘(라우터 프로토콜) 사용...
✅ Daily Report 📌 TO-DO LIST submit github blog post lesson assigment: ✅
✅ Daily Report 📌 TO-DO LIST submit github blog post lesson assigment: ✅
Error(오류) 🆚 Exception(예외) 둘 다 Throwable의 class 💥 Error(오류) 컴퓨터 자체의 문제(cpu, memory 등) JVM에서 기인한 문제 ➡️ 코드의 문제가 아님 통제 불가능 ❌ 클래스로 관리되고 있다. example: OutOfMemoryError 💥 Exception(예외) ...
✅ Daily Report 📌 TO-DO LIST submit github blog post lesson 45, 46 assigment: equals() and == equals()와 == 모두 객체를 비교하기 위해 사용 equals()는 객체의 데이터 값을 비교 ==는 메모리 값을 비교
✅ Wrapper Class primitive data type는 객체 ❌ primitive type: int, long, float, double, boolean… Wrapper Class는 클래스이기 때문에 객체의 reference type ⭕️ wrapper class: Integer, Long, Float, Double, Boolea...
✅ Stack: LIFO LIFO: Last In First Out added and removed from the top of the stack the last to be added will the the first to be removed import java.util.Stack; public class StackExample...
✅ Map 어떤 key를 기준으로 value를 알아내는 것 순서 고려 안 함 구조: key-value 용도: key를 기준으로 value검색 구현체: HashMap: Array 구조 기반 TreeMap: Node 구조 기반 💡 Map method public class MapInterfaceTest { public stati...
✅ Java List 용도: 순서가 있는 data collection 예시: 쇼핑몰 사이트 찜목록 구현 class: ArrayList(Array구조 기반) LinkedList(Node구조 기반) class로 구현 내부적으로 toString()이 포함되어 있다. 💡 List의 method public static void ...