Tagged articles
3 articles
Page 1 of 1
Lisa Notes
Lisa Notes
Mar 17, 2026 · Fundamentals

Java Basics: Understanding Primitive Data Types from Scratch

This article explains Java's primitive data types—including integer, floating‑point, character, and boolean types—covers their memory sizes, value ranges, literal syntax, automatic and explicit type conversions, and provides concrete code examples and tables for reference.

Javabooleanchar
0 likes · 16 min read
Java Basics: Understanding Primitive Data Types from Scratch
Programmer DD
Programmer DD
Aug 15, 2021 · Fundamentals

Is Java’s long and double Access Truly Atomic? A Deep Dive

Through a multithreaded test program, this article explores whether Java’s 64‑bit long and double types are accessed atomically on 32‑bit and 64‑bit JVMs, explains the JVM memory model rules, and shows how volatility and hardware affect atomicity.

JVMJavaLong
0 likes · 10 min read
Is Java’s long and double Access Truly Atomic? A Deep Dive