Different Data Types in Java

Get Into Code provides you with free C++ and Java Course in Hindi/Urdu and also provides you the opportunity to practice your skills to be perfect. In previous video we have discussed about the Comments In Java. In this Video we are going to discuss about Different Data Types In Java. Following are some Datatypes which will be discussed for now.

  • Integer (int)

    • It can store integer values or numbers.
    • E.g. 23,1004 & 56 etc.
    • It can also store negative integer values or numbers.
    • E.g. -24, -500, - 45 etc.

  • Floating Point (float)

    • It can store decimal values or numbers.
    • E.g. 23.50,1004.67 & 56.00 etc.
    • It can also store negative decimal values or numbers.
    • E.g. -24.00, -500.34, - 45.98 etc.

  • Character (char)

    • It can store a single Alphabet or Character.
    • E.g. 'A', 'e', 'y'. & '$' etc.

  • Boolean (bool)

    • It can store only true and false.
Watch The Below Video For More Guideline



No comments

Powered by Blogger.