# Io / Github / Biezhi / Java11 / String

## Overview

This module appears to be a small Java 11 demo package focused on new `String` APIs. It exists as a hands-on example set for showing how `String.repeat()`, `String.lines()`, `String.strip()`, `String.stripLeading()`, `String.stripTrailing()`, and `String.isBlank()` behave in practice.

The module is intentionally simple: it is a single `Example` class that prints demonstrations to standard output. That makes it useful as a reference for engineers who want to understand the semantics of these APIs without reading the JDK documentation in isolation.

## Key Classes and Interfaces

### [Example](java11-examples-master/src/main/java/io/github/biezhi/java11/string/Example.java:16)

`Example` is the only class in this package, and it serves as a compact showcase for Java 11 string utilities. It is not a reusable library class; instead, it is a runnable demo that prints examples of each API to the console.

#### Role in the module

The class is organized around one shared helper, `writeHeader(...)`, and a series of demonstration methods that each focus on one string feature. The `main` method selects which demo runs when the class is launched.

#### Important methods

- [Example.writeHeader(final String headerText)](java11-examples-master/src/main/java/io/github/biezhi/java11/string/Example.java:24)
  - Builds a visual section header using `