Java – Data types Introduction

Home/Java - Tutorial/Java - Datatypes/Java – Data types Introduction
Java – Data types Introduction 2017-08-09T09:08:18+00:00

Datatypes introduction in java:

You people now know the basic introduction and features of java. Here in this chapter now we move to data types supported by java.

If you have knowledge of C language than you might be know about data types. The use and need of data types in programming language is to declare a variables which can store the different kind of value as per the data types.

Java Datatypes Example:

int a;

char c;

float b;

Here “int” is a data type and “a” is variable which can store any natural nuber.

Here “char” is a data type and “c” is variable which can store any character value.

Here “float” is a data type and “b” is variable which can store any floating point value.

In next chapter you will get data types and variables in detail.

Prev Next