Java Video Tutorial 3: Variables and Arithmatic (Part1)


Part 1 will describe how to declare and assign variables in java aswell as discussing the various data types. Part 2 shows you how to perform simple arithmatic and display variables through an example program.

25 Comments

  1. jomann18 says:

    Thank you very much for your tutorials! I learned a whole lot today!

  2. YungMell1 says:

    “”"If any one want to make some fast cash at home an want to kno more about this work from home you can e mail me at bossboy71@yahoo.com an this not a scam

  3. MrCoolio0760 says:

    You do a good job at getting into detail with each piece of code which is very helpful. You should pick back up on the series even though it’s been a couple years. Great tutorials, thumbs up.

  4. mdsky says:

    Dude, you’re so sweet ;) “Float can hold smaller numbers then double. Double can hold extremely big numbers, float can hold small numbers – OH – not smaller than – it still hold quite large numbers but not as large as double”. Haha, love your videos!!

  5. wezternator says:

    You should be a Pilot – You have just the voice!

  6. BabyLatina1010 says:

    definitly agree. it wouldn’t compile if he declares myFloat twice, should have made his double variable called myDouble.
    other than that, simple clean tutorial, great for beginners!

  7. YourHumanRights says:

    Thanks and great.. But you should probaby call the double variable “myDouble” instead of repeating “myFloat”

  8. hermesthephilosopher says:

    Awesome work. Clear and basic, thanks for this :)

  9. leperchaun76 says:

    Aweet man this rocks!

  10. MrProgrampro says:

    Tyvm! You have so many, and I need to learn java! Sweet vid, 5 stars!

    also, earrape 4:19 XD

  11. PaulKaizer24 says:

    gracias gran aporte.

  12. mayavenkat says:

    Thanks! this really helped me out! and btw, i love your accent! :D

  13. sasuke2910 says:

    Nothing, but I think it would return an error because he used the name “myFloat” twice(as a float and a double) I’m not sure if that’s aloud in Java. I don’t know that much about it(hence watching this tutorial :3). It works in some languages and doesn’t in some. But overall great tut.

  14. madkimaster says:

    lmao i didnt see that at first

  15. med07 says:

    if you run this what is the out put?

  16. AnitaLife27 says:

    Thank you, aphonik!!! Yes…the 8 primative data types, as seen in this video, store values DIRECTLY into memory. A reference variable, such as String stores a reference to that variable. See D.S. Malik 5th ed, Java Programming, page 120. There’s even a picture.

  17. stevieb6966 says:

    fake

  18. whiteboy2k10 says:

    Ugh! Vidoes like this annoy me on YouTube. If your gonna make a video please get your facts straight. A vairble does not store data it is a reference to data. Also, variables are not the core of a program. I have written many programs with no variable whatsoever, I just used value returning methods within algorithms

  19. Ozous says:

    your videos are awesome yar
    can you suggest me a video tutorial showing
    inputs during runtime please .

  20. emperusDS says:

    very good but that My float typed in twice was a bit confusing, btw you did a preety good job and ill keep on your series to the end :)

  21. ezklride says:

    byte -128 to + 127
    short -32,768 to +32,767
    int -2,147,483,648 to +2,147,483,648
    long -9,223,372,036,854,775,808 to +9,223,372,036,854,775,808

  22. sergeantRC says:

    HAHAHA byte myVariable!!!
    thanks for the vid!

  23. liuupson says:

    int can store with in -65000 to 65 000.

  24. CoderSal says:

    Your copying michaels javas vtm.

  25. itsjareds says:

    Thanks, this finally cleared up my confusion.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Powered by Yahoo! Answers