This lesson in Java tutorial for beginners course helps you in understanding variables and data types in Java Programming
Like every other programming language, variables in Java help store data values
Some of the major highlights in this video are:
How to declare a variable in Java
The different types of variables
How to use variables in statements
Difference between float and double
Difference between int and long
memory usage of variable types
0:00 Brief Introduction
0:26 Bank Analogy
2:29 Coding in IntelliJ begins
3:50 Declaring variables for our bank account
6:06 Naming your variables
7:39 Using long for storing large whole numbers
9:34 Float vs double for decimal numbers
10:51 Table of primitive data types and their memory allocation
An examples of how variables may be used and manipulated for displaying information in an ATM machine
***********************************************************
LIKE, SHARE AND SUBSCRIBE !!!