Skip to main content

Posts

Showing posts with the label data types of java

java data types

Data Types:- In java data types are divided into two parts.  primitive data types   secondary data types Primitive data types:- there are total eight data types into java and there wrapper classes.             Data type Wrapper classes byte Byte short Short int Integer long Long float Float double Double char Character boolean             Boolean In the real world we have many types of data exist like 10,106,100,500.50, 100.10,”javaindore”,’A’,’5’, true and false. Here 10,106 and 100=========whole number [byte, short, integer and long]. 500.50 And 100.10===========floating number [float and double]. ‘A’ and ‘5’              ============character [character]. true and...