--- id: java-oop title: "Java OOP" category: "Programming_Language" status: "draft" verification_status: "conceptual" canonical_id: "" aliases: ["object-oriented programming", "μžλ°” OOP"] duplicate_of: "" source_trust_level: "B" confidence_score: 0.88 created_at: 2026-07-04 updated_at: 2026-07-04 review_reason: "" merge_history: [] tags: ["java", "programming", "w3schools", "oop"] raw_sources: ["https://www.w3schools.com/java/java_oop.asp"] applied_in: [] github_commit: "" --- # [[Java OOP]] ## 🎯 ν•œ 쀄 톡찰 (One-line insight) The class/object relationship is framed as template vs. instance from the very first OOP chapter β€” a class (Fruit) is a blueprint, while objects (Apple, Banana, Mango) are concrete instances that each inherit the class's variables and methods, setting up every subsequent OOP chapter. [S1] ## 🧠 핡심 κ°œλ… (Core concepts) - **OOP** β€” Object-Oriented Programming: creating objects that bundle data AND methods together, vs. procedural programming's separate data/procedures. [S1] - **DRY principle** β€” "Don't Repeat Yourself" β€” extract common code to a single place and reuse it. [S1] - **Class** β€” a template/blueprint for objects. [S1] - **Object** β€” an instance of a class; inherits all variables and methods from its class. [S1] - **OOP advantages** β€” faster/easier execution, clear structure, DRY-friendly maintainability, reusable applications with less code. [S1] ## πŸ“– μ„ΈλΆ€ λ‚΄μš© (Details) - Fruit β†’ Apple/Banana/Mango, Car β†’ Volvo/Audi/Toyota illustrate class-vs-objects. [S1] ## βš–οΈ λͺ¨μˆœ 및 μ—…λ°μ΄νŠΈ (Contradictions & updates) μ†ŒμŠ€μ—μ„œ λͺ¨μˆœλ˜λŠ” μ •λ³΄λŠ” λ°œκ²¬λ˜μ§€ μ•ŠμŒ. ## πŸ› οΈ 적용 사둀 (Applied in summary) ν˜„μž¬ 발견된 μ‹€μ œ 적용 사둀가 μ—†μŠ΅λ‹ˆλ‹€ β€” OOP 전체 μ„Ήμ…˜(클래슀/객체/μƒμ„±μž/상속/λ‹€ν˜•μ„± λ“±)의 κ°œλ…μ  μΆœλ°œμ μ΄λ‹€. [S1] ## πŸ’» μ½”λ“œ νŒ¨ν„΄ (Code patterns) ν•΄λ‹Ή μ±•ν„°λŠ” κ°œλ… μ†Œκ°œ μ€‘μ‹¬μœΌλ‘œ 별도 μ½”λ“œ μ˜ˆμ œκ°€ μ—†μŒ β€” λ‹€μŒ 챕터([[Java Classes]])μ—μ„œ μ‹€μ œ 클래슀 μ„ μ–Έ 문법이 μ‹œμž‘λœλ‹€. ## βœ… 검증 μƒνƒœ 및 신뒰도 - **μƒνƒœ:** draft - **검증 단계:** conceptual - **좜처 신뒰도:** B (W3Schools β€” widely used educational reference, not a primary standards body) - **μ‹ λ’° 점수:** 0.88 - **쀑볡 검사 κ²°κ³Ό:** μ‹ κ·œ 생성 (New discovery) ## πŸ”— 지식 κ·Έλž˜ν”„ (Knowledge Graph) - **μƒμœ„/루트:** [[Java Tutorial]] - **κ΄€λ ¨ κ°œλ…:** [[Java Classes]], [[Java Class Attributes]], [[Java Class Methods]] - **μ°Έμ‘° λ§₯락:** OOP μ„Ήμ…˜ μ „μ²΄μ˜ κ°œλ…μ  λ„μž…λΆ€ β€” 클래슀/객체 λ¬Έλ²•μœΌλ‘œ 이어짐. ## πŸ“š 좜처 (Sources) - [S1] W3Schools β€” Java OOP β€” https://www.w3schools.com/java/java_oop.asp ## πŸ“ λ³€κ²½ 이λ ₯ (Change history) - 2026-07-04: Initial draft synthesized from the W3Schools "Java - What is OOP?" page (Astra wiki-curation, P-Reinforce v3.1 format).