Java Tutorial #4 || Declaring Variables in Java Eclipse ||

Published: 15 July 2018
on channel: Execute Codes
49
4

Variables:
A variable is a place where the program stores data temporarily. As the name implies the value stored in such a location can be changed while a program is executing (compare with constant).

The above program uses two variables, var1 and var2. var1 is assigned a value directly while var2 is filled up with the result of dividing var1 by 2, i.e. var2 = var1/2. The words int refer to a particular data type, i.e. integer (whole numbers).


LIKE, SHARE and SUBSCRIBE


On this page of the site you can watch the video online Java Tutorial #4 || Declaring Variables in Java Eclipse || with a duration of hours minute second in good quality, which was uploaded by the user Execute Codes 15 July 2018, share the link with friends and acquaintances, this video has already been watched 49 times on youtube and it was liked by 4 viewers. Enjoy your viewing!