Variable in Java & its types

Definition – Variable is a named memory location used to store data temporarily. During program execution we can modify the data. How can a variable be created Primitive Variable – These variable are created by using primitive data types. Referenced Variable – These variable are created by using referenced data types. The difference between primitive and referenced … Read more

Data Types & Literals

Definition of data types Data type is something which gives information about. Size of the memory location and ranges of data that can be accommodated inside that location. Possible legal operations those can be performed on that location. What type of result comes out from an expression when these types are used inside that expression. … Read more