Datatype in Java
Feb 6, 2025 · 2 min read · In Java, a data type defines what kind of value a variable can hold and tells the Java Virtual Machine (JVM) how to interpret the variable’s value. Data types in Java are divided into two categories: 1. Primitive Data Types 2. Non-Primitive Data Type...
Join discussion