1cfd3bbb56
Topic_CSS/Topic_HTML/Topic_JavaScript/Topic_Prompt/Topic_Comfyui 등 기존 카테고리 폴더를 정리하고, Topic_Graphic/Dev 등 신규 산출물과 Topics 내부 세션/메모리 기록을 동기화.
66 lines
2.6 KiB
Markdown
66 lines
2.6 KiB
Markdown
---
|
|
id: java-output
|
|
title: "Java Output"
|
|
category: "Programming_Language"
|
|
status: "draft"
|
|
verification_status: "conceptual"
|
|
canonical_id: ""
|
|
aliases: ["println()", "print()", "자바 출력"]
|
|
duplicate_of: ""
|
|
source_trust_level: "B"
|
|
confidence_score: 0.9
|
|
created_at: 2026-07-04
|
|
updated_at: 2026-07-04
|
|
review_reason: ""
|
|
merge_history: []
|
|
tags: ["java", "programming", "w3schools", "output", "println"]
|
|
raw_sources: ["https://www.w3schools.com/java/java_output.asp"]
|
|
applied_in: []
|
|
github_commit: ""
|
|
---
|
|
|
|
# [[Java Output]]
|
|
|
|
## 🎯 한 줄 통찰 (One-line insight)
|
|
`println()` and `print()` differ only in whether a newline follows — but the tutorial deliberately sticks to `println()` throughout for readability, treating `print()` as a rarely-needed variant. [S1]
|
|
|
|
## 🧠 핵심 개념 (Core concepts)
|
|
- **`println()`** — prints text/values, adding a newline after each call. [S1]
|
|
- **Double quotes required** — text must be wrapped in `""`; omitting them is a compile error. [S1]
|
|
- **`print()`** — same as `println()` but does NOT add a trailing newline. [S1]
|
|
|
|
## 📖 세부 내용 (Details)
|
|
- Multiple println calls: `System.out.println("Hello World!"); System.out.println("I am learning Java.");` — each on its own line. [S1]
|
|
- print() without newline: `System.out.print("Hello World! "); System.out.print("I will print on the same line.");`. [S1]
|
|
|
|
## ⚖️ 모순 및 업데이트 (Contradictions & updates)
|
|
소스에서 모순되는 정보는 발견되지 않음.
|
|
|
|
## 🛠️ 적용 사례 (Applied in summary)
|
|
현재 발견된 실제 적용 사례가 없습니다 — 이 튜토리얼 전체에서 println()만 일관되게 사용한다고 명시됨. [S1]
|
|
|
|
## 💻 코드 패턴 (Code patterns)
|
|
print() without a trailing newline (Java):
|
|
```java
|
|
System.out.print("Hello World! ");
|
|
System.out.print("I will print on the same line.");
|
|
```
|
|
|
|
## ✅ 검증 상태 및 신뢰도
|
|
- **상태:** draft
|
|
- **검증 단계:** conceptual
|
|
- **출처 신뢰도:** B (W3Schools — widely used educational reference, not a primary standards body)
|
|
- **신뢰 점수:** 0.90
|
|
- **중복 검사 결과:** 신규 생성 (New discovery)
|
|
|
|
## 🔗 지식 그래프 (Knowledge Graph)
|
|
- **상위/루트:** [[Java Tutorial]]
|
|
- **관련 개념:** [[Java Print Numbers]], [[Java Strings]]
|
|
- **참조 맥락:** 텍스트 출력의 기본 — 숫자 출력은 다음 챕터로 이어진다.
|
|
|
|
## 📚 출처 (Sources)
|
|
- [S1] W3Schools — Java Output / Print — https://www.w3schools.com/java/java_output.asp
|
|
|
|
## 📝 변경 이력 (Change history)
|
|
- 2026-07-04: Initial draft synthesized from the W3Schools "Java Output / Print" page (Astra wiki-curation, P-Reinforce v3.1 format).
|