Variables, Method & Operators

A variable is a container that holds values that are used in a Java program. Every variable must be declared to use a data type. For example, a variable could be declared to use one of the eight primitive data types: byte, short, int, long, float, double, char, or boolean.


You can read below learning material to grasp a better understanding of this lesson.

Java Variable, Data types

error: © Prognoz Technologies Pvt. Ltd.
Scroll to Top
Chat Now
1
Need help?
Hello 👋,
Send us your query and we will assist you!