Tag

final

0 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
Dec 8, 2021 · Backend Development

Top 10 New Features in PHP 8.1

This article introduces the ten most important new features of PHP 8.1—including enums, fibers, the never return type, readonly properties, final class constants, array_is_list(), fsync/fdatasync, string‑key array unpacking, the $_FILES full_path key, and the IntlDatePatternGenerator class—each explained with clear code examples.

ReadOnlyarray_is_listbackend
0 likes · 15 min read
Top 10 New Features in PHP 8.1
Architect's Tech Stack
Architect's Tech Stack
May 12, 2021 · Fundamentals

Understanding Java String Immutability and the String Constant Pool

This article explains why Java strings are immutable, how the JVM uses the string constant pool and the final keyword to manage memory, and demonstrates the behavior with code examples that show reference handling, object creation, and common string operations.

JVMJavaMemory Management
0 likes · 11 min read
Understanding Java String Immutability and the String Constant Pool
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 7, 2020 · Fundamentals

Deep Understanding of Java's final, finally, and finalize Keywords

This article explains the distinct purposes, usage rules, and underlying bytecode behavior of Java's final, finally, and finalize keywords, covering class and method immutability, variable constancy, guaranteed execution blocks, deprecated finalization, and common performance misconceptions.

Exception HandlingFinalizeJava
0 likes · 14 min read
Deep Understanding of Java's final, finally, and finalize Keywords
Xiaokun's Architecture Exploration Notes
Xiaokun's Architecture Exploration Notes
Jan 28, 2020 · Fundamentals

Why Java’s final Keyword Guarantees Thread Safety – Deep Dive

This article explains the semantics of Java's final keyword, how the compiler and JVM enforce immutability and memory‑barrier rules, and why final fields provide thread‑safe, write‑once‑read‑many behavior for both instance and static variables.

JavaMemory ModelThread Safety
0 likes · 13 min read
Why Java’s final Keyword Guarantees Thread Safety – Deep Dive
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 18, 2019 · Fundamentals

Understanding Java Memory Model, Reordering, Memory Barriers, and volatile/final Semantics

This article explains the Java Memory Model, how hardware and the JVM handle memory, the eight JMM operations, instruction reordering, memory barriers, and the specific memory semantics of volatile and final variables, providing code examples and visual diagrams for clarity.

JavaMemory Modelconcurrency
0 likes · 12 min read
Understanding Java Memory Model, Reordering, Memory Barriers, and volatile/final Semantics
Java Captain
Java Captain
Apr 18, 2018 · Fundamentals

Understanding Static Fields, Static Methods, and the final Keyword in Java

This article explains Java's static data members and methods, demonstrates how they are declared and accessed through a Human class example, shows how object constructors can modify static fields, and clarifies the purpose and usage of the final keyword in Java programming.

JavaOOPclass fields
0 likes · 7 min read
Understanding Static Fields, Static Methods, and the final Keyword in Java
Java Captain
Java Captain
Nov 21, 2017 · Fundamentals

Understanding the final Keyword in Java: Variables, Methods, and Classes

This article explains Java's final keyword, covering its use with classes, methods, and variables, demonstrates how to declare final members, shows code examples of final variables, methods, and classes, and discusses the performance, thread‑safety, and immutability benefits of using final in Java applications.

JavaThread Safetyfinal
0 likes · 7 min read
Understanding the final Keyword in Java: Variables, Methods, and Classes