--- id: java-print-numbers title: "Java Print Numbers" category: "Programming_Language" status: "draft" verification_status: "conceptual" canonical_id: "" aliases: ["자바 숫자 출력"] duplicate_of: "" source_trust_level: "B" confidence_score: 0.87 created_at: 2026-07-04 updated_at: 2026-07-04 review_reason: "" merge_history: [] tags: ["java", "programming", "w3schools", "output", "numbers"] raw_sources: ["https://www.w3schools.com/java/java_output_numbers.asp"] applied_in: [] github_commit: "" --- # [[Java Print Numbers]] ## 🎯 한 줄 통찰 (One-line insight) Numbers passed to println() are never quoted, and arithmetic expressions can be evaluated directly inside the call — the same convention as Python's print(). [S1] ## 🧠 핵심 개념 (Core concepts) - **Numbers unquoted** — `System.out.println(3);` not `println("3")`. [S1] - **Inline math** — `System.out.println(3 + 3);` evaluates before printing. [S1] ## 📖 세부 내용 (Details) - Plain numbers: `System.out.println(3); System.out.println(358);`. [S1] - Arithmetic: `System.out.println(3 + 3); System.out.println(2 * 5);`. [S1] ## ⚖️ 모순 및 업데이트 (Contradictions & updates) 소스에서 모순되는 정보는 발견되지 않음. ## 🛠️ 적용 사례 (Applied in summary) 현재 발견된 실제 적용 사례가 없습니다 — Java Operators Arithmetic 챕터에서 이 연산이 전체 연산자 집합으로 확장된다. [S1] ## 💻 코드 패턴 (Code patterns) Inline math in println (Java): ```java System.out.println(3 + 3); // 6 ``` ## ✅ 검증 상태 및 신뢰도 - **상태:** draft - **검증 단계:** conceptual - **출처 신뢰도:** B (W3Schools — widely used educational reference, not a primary standards body) - **신뢰 점수:** 0.87 - **중복 검사 결과:** 신규 생성 (New discovery) ## 🔗 지식 그래프 (Knowledge Graph) - **상위/루트:** [[Java Tutorial]] - **관련 개념:** [[Java Output]], [[Java Operators Arithmetic]] - **참조 맥락:** 숫자 출력의 기초 — Operators Arithmetic 챕터로 확장. ## 📚 출처 (Sources) - [S1] W3Schools — Java Output Numbers — https://www.w3schools.com/java/java_output_numbers.asp ## 📝 변경 이력 (Change history) - 2026-07-04: Initial draft synthesized from the W3Schools "Java Output Numbers" page (Astra wiki-curation, P-Reinforce v3.1 format).