1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Data Types & Variables

Discussion in 'Webmasters Talk' started by superjohn4455, Mar 1, 2018.

  1. superjohn4455

    superjohn4455 New Member

    Hi friends,
    I need some help about data types and variables in java programming?
    is there any one who can tell me how to use data types and variables in java programming?
  2. Sumit_Singh

    Sumit_Singh Member

    The data types in Java are byte, short, int, char, float, and double.
    Variable in java is the piece of memory that contains the data value.
    Like if a variable has int as data type then it will only hold the integer value.
    You can follow the blogs and online tutorial on YouTube to know more about Java programming.
    You can also learn from here https://beginnersbook.com/java-tutorial-for-beginners-with-examples/

Share This Page