Back to Browse

Java for Beginners 4 : Commenting and Math operations

519 views
Aug 4, 2015
13:39

Hello guys! this shawn koon here, I hope you enjoyed this video..! If you guys liked my videos, please subscribe for more future videos :) Thank you Whats upp programmers, it's me shawn here for another java tutorial! In this tutorial, we are going to look at how to comment single line or multi lines out in java so we can write our own notes in the program. Also, learn about mathematic operation in java such as divide, modular, add, subtract, multiply. Using both integer and float or double values. // - Line commenting. /* - Multi line commenting.. */ int x = 20; int y = 10; 1. dividing integers - dividing two integers using " / ". - will give you an integer. 2. dividing floats - divide floats using / sign. - will give you float number. 3. integer devide floats - this will give you float or double answer. 4. adding and subtracting. - Pretty basic just same operation. - maker sure to put parentheses () 5. Multiplying. - use * key.

Download

1 formats

Video Formats

360pmp418.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Java for Beginners 4 : Commenting and Math operations | NatokHD