Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 1.01 KB

Types.md

File metadata and controls

13 lines (9 loc) · 1.01 KB

Types of Data types

Primative Data Type

Data Type Used For Range Indicated Examplete
Integer Whole Number 10 Digits int int myNum = 5;
floating Fractions Or Decimal Not more that 7 Digit after decimial float float myFloatNum = 5.99f;
Double Fractions Or Decimal More that 7 Digit after decimial double double myDoubleNum = 1.1234567123456;
Long Whole Number 10 and more that 10 Digit Number long long myLongNum =1234567891;
Character Store Letters single character/letter char char myLetter = 'D';