Monday, August 31, 2015

Data Types In Java



Hi All...!

Today I'm going to show you what are the "Data Type" we can use in Java programming, In Java there are two types of data types. One is "Primitive Types" or "8 Basics" and other type is "An Unlimited Number Of Object Type"


Primitive Types Or 8 Basics


Following 8 data types are known as primitive types or 8 basics,

  1. byte
  2. short
  3. int
  4. long
  5. float
  6. double
  7. char
  8. boolean

Note


When we type any of above data type in our Java program we must use only simple letters.



Unlimited Number Of Object Types (Non - Primitive)


For this type "String" is a good example. You will get to know about these data type in future.



8 Basics Or Primitive Data Types Chart




In my next post I will show you how to use these data types in Java programs.

28 comments:

  1. It is a well known fact that Java as a programming language set off a new paradigm in the software industry. Suddenly, every software programmer worth his salt was amidst software jargons like 'Platform-Independence', 'Cross-Platform-Deployment' and 'The Java Virtual Machine'.
    java

    ReplyDelete
  2. java programming is one of the best programming.Many of us don't know how to do it.So they need to help with java programming.If they know about this they can do it very well.

    ReplyDelete
  3. You can clear many of your doubts regarding boolean data types in Core Java through Merit Campus, visit: http://java.meritcampus.com/core-java-topics/data-types-in-java, http://java.meritcampus.com/core-java-topics/boolean-data-type-in-java

    Not only data types, we also have each and every topic in Core Java with example for each. You can read lot of sessions and can write many practice tests in Merit Campus Java website. visit: http://java.meritcampus.com/core-java-topics/ to know more.

    ReplyDelete
  4. Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more.java training in chennai | chennai's no.1 java training in chennai

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. I have read your blog and i got a very useful and knowledgeable information from your blog.You have done a great job . If anyone want Core Java Online Training, Please visit our page


    Core Java Online Training

    ReplyDelete
  7. Wonderful bloggers like yourself who would positively reply encouraged me to be more open and engaging in commenting.Thanks for sharing this useful post. keep updating..!!!
    Java Training in Chennai | Software Testing Training in Chennai

    ReplyDelete
  8. Hi, I am a big follower of your blog. Really very informative post you shared here. Keep sharing this type of informative blog. Waiting for your next update. White Label Website Builder

    ReplyDelete
  9. "Great blog created by you. I read your blog, its best and useful information. You have done a great work. Super blogging and keep it up.php jobs in hyderabad.
    "

    ReplyDelete
  10. Informative post indeed, I’ve being in and out reading posts regularly and I see alot of engaging people sharing things and majority of the shared information is very valuable and so, here’s my fine read.
    click here for more details
    click here for new registration
    click here to login
    click here 4th std
    click here icon

    ReplyDelete
  11. Very Useful information about Data Types in Java. Can we say Primitive datatype as Reference Data Type.

    ReplyDelete
  12. It is a convenient and powerful windows utility that quickly converts multiple images into a single pdf document. With JPG To PDF Converter,.Image To Pdf Converter Full Crack

    ReplyDelete
  13. This post provides valuable information and presents an excellent article with helpful insights. . they need to python programming assignment help.

    ReplyDelete