DATA TYPES IN JAVA PROGRAMMING - tccicomputercoaching.com

Page 1

DATA TYPES IN JAVA PROGRAMMING tccicomputercoaching.com In this article we will learn about the java data types. Variable is a memory location where we can store the data. There are three types of variables: local, instance and static. There are two types of data types in java, primitive and non-primitive. Data Types in Java In general every programming language is containing three categories of data types. They are   

Fundamental or primitive data types Derived data types User defined data types.

Primitive data types Primitive data types are those whose variables allows us to store only one value but they never allows us to store multiple values of same type. This is a data type whose variable can hold maximum one value at a time.


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.