Java Variables are nothing but reserved memory locations to store values. This
means that when you create a variable you reserve some space in memory.
Based on the data type of a variable, the operating system allocates memory and decides what can be stored in the reserved memory. Therefore, by assigning different data types to variables, you can store integers, decimals, or characters in these variables.
There are two data types available in Java:
Who should attend - All BCA/ MCA/ B.Tech/ B.Sc.(IT)/ M.Sc.(IT) and PGDCA students
Contact:-
Coaching for All university’s BCA, MCA, B.Tech, B.Sc.(IT),
M.Sc.(IT) and PGDCA in Jaipur.
Based on the data type of a variable, the operating system allocates memory and decides what can be stored in the reserved memory. Therefore, by assigning different data types to variables, you can store integers, decimals, or characters in these variables.
There are two data types available in Java:
·
Primitive Data Types
·
Reference/Object Data Types
Who should attend - All BCA/ MCA/ B.Tech/ B.Sc.(IT)/ M.Sc.(IT) and PGDCA students
Contact:-
Address: D-300, Near World Trade Park, Malviya Nagar, Jaipur
0 comments:
Post a Comment