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:
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.