|
|
|
@ -5,10 +5,12 @@ Variable in Java is a data container that stores the data values during Java pro |
|
|
|
|
Data Types are divided into two group - |
|
|
|
|
|
|
|
|
|
- Primitive - byte,short,int,long,float,double,boolean and char |
|
|
|
|
- Non-Primitive - String, Arrays and Classes |
|
|
|
|
- Non-Primitive - String, Arrays, Classes, Enums and Records |
|
|
|
|
|
|
|
|
|
Visit the following resources to learn more: |
|
|
|
|
|
|
|
|
|
- [@article@What are Data Types & Variables?](https://www.guru99.com/java-variables.html) |
|
|
|
|
- [@article@Java Variables](https://www.javatpoint.com/java-variables) |
|
|
|
|
- [@article@Learn more about Data types and Variables](https://www.javatpoint.com/java-data-types) |
|
|
|
|
- [@article@Java enums](https://docs.oracle.com/javase/tutorial/java/javaOO/enum.html) |
|
|
|
|
- [@article@Java Rerords](https://www.baeldung.com/java-record-keyword) |
|
|
|
|