Variables and datatypes in java
Variables are containers that store data in a program. Every variable has:
Type → What kind of data it can store (number, text, etc.)
Name → Identifier for the variable
Value → The actual data stored
Syntax for Variable
dataType variableName = ...
codewithpreethi.hashnode.dev2 min read