MBA-IT.com
Welcome About us Blogs News Contact Us Privacy Policy Terms Of Use  
Advertising
Business Research
Economics
Marketing
Human Resource Management
Software Engineering
Java

Start

Java Concepts

Java Data Types

Java Syntex

HelloWorld.java

PHP
 

 Blogs > Java > Java Data Types

Java Data Types

Data

  • Raw facts or figures are called Data
  • A random collection of numeric figures or alphabet words
  • A sorted or unsorted list of results generated after an experiment

There can be unlimited definitions of data, a simple example would be the results of a election poll wich are in raw form untill they are sorted and grouped in order to get the winner who has aquired maximum votes against his/her name

Data Types

We can classify data into different categories like it is an alphabetic data or it is numeric data. So the classification of data into types creates different data types. Now let's categories them according to computer usage:

  1. Numeric
  2. Non-Numeric

The reason we categories it in only two major  categories is that in computer there are only two major categories of data types. Either it can be a numeric entry like 1,2,3 or either it can be any thing other than numeric enteries like "A","a","B","b"

In java language these data types are more classifieds into smaller datatypes

  1. Numeric
    1. Integer
    2. Long Integer
    3. Short Integer
    4. Float
    5. Double
  2. Non-Numeric
    1. String
    2. Character

 

© 2005 -2010 MBA-IT.com, All Rights Reserved

Contact us | Privacy | Terms of Use