← Exit to Module 9: Advanced Core Features lessons
Module progress · 0%Lesson · 16 min
Module 9: Advanced Core Features
Lesson focusFormatting & Localization
Use `String.format`, `Formatter`, and `NumberFormat` for human-friendly output.
01 · 15 minString Pool & Memory ManagementLocked02 · 12 minStringBuilder vs StringBufferLocked03 · 16 minFormatting & LocalizationLocked04 · 20 minRegular Expressions, Pattern & MatcherLocked05 · 18 minFile I/O with java.ioLocked06 · 18 minModern I/O with NIO.2Locked07 · 15 minSerialization BasicsLocked08 · 14 minOptional Usage PatternsLocked09 · 30 minMini-Project: Log File AnalyzerLocked
Format specifiers (%d, %s, %.2f) provide precise control; use locale-aware factories for currency/percentages.
Adopt MessageFormat or resource bundles for UI strings to avoid concatenation that breaks localization.
Prefer DateTimeFormatter over legacy SimpleDateFormat—immutable and thread-safe.