Java Tutorial For Beginners 6 – Math and Arithmetic Operators in Java

///Java Tutorial For Beginners 6 – Math and Arithmetic Operators in Java

Java Tutorial For Beginners 6 – Math and Arithmetic Operators in Java

FavoriteLoadingAdd to favorites

For Code used in this lesson click –

Java468x60

★★★Top Online Courses From ProgrammingKnowledge ★★★
Python Programming Course ➡️ ⚫️
Java Programming Course ➡️ ⚫️
Bash Shell Scripting Course ➡️ ⚫️
Linux Command Line Tutorials ➡️ ⚫️
C Programming Course ➡️ ⚫️
C++ Programming Course ➡️ ⚫️
PHP Programming Course ➡️ ⚫️
Android Development Course ➡️ ⚫️
C# Programming Course ➡️ ⚫️
JavaFx Programming Course ➡️ ⚫️
NodeJs Programming Course ➡️ ⚫️
Jenkins Course For Developers and DevOps ➡️ ⚫️
Scala Programming Tutorial Course ➡️ ⚫️
Bootstrap Responsive Web Design Tutorial ➡️ ⚫️
MongoDB Tutorial Course ➡️ ⚫️
QT C++ GUI Tutorial For Beginners ➡️

★★★ Online Courses to learn ★★★
Get 2 FREE Months of Unlimited Classes from skillshare –
Data Science – |
Machine Learning – |
Artificial Intelligence – |
MERN Stack E-Degree Program – |
DevOps E-degree – |
Data Analytics with R – |
AWS Certification Training – |
Projects in Java – |
Machine Learning With TensorFlow – |
Angular 8 – Complete Essential Guide –
Kotlin Android Development Masterclass –
Learn iOS Programming Building Advance Projects –

★★★ Follow ★★★
My Website –

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!

Java – Basic Operators
Basics of the Java operators
Searches related to java math operators
java math class
java math operators power
java math operators exponential
java math functions
java square root
java not equal to operator
java math division remainder
java arithmetic operators order
Assignment, Arithmetic, and Unary Operators
Basics of the Java operators
Java Or Operatoren
Java Bit Operatoren
Java Vergleichsoperatoren
Oder In Java
Java Or
Java Arithmetic Operators

source

By |2019-12-10T00:24:40+00:00December 10th, 2019|Java Video Tutorials|38 Comments

38 Comments

  1. solomontebib dejen December 10, 2019 at 12:24 am - Reply

    thank you

  2. Rashmi Priyanka December 10, 2019 at 12:24 am - Reply

    thanks shear valuable help full videos https://www.youtube.com/watch?v=gS2DNJ2-wJM&t=8s this is new program

  3. Pawan Yadav December 10, 2019 at 12:24 am - Reply

    Hindi me bolo be jyada angrezz ho gye ho bhosdk

  4. Niraj Deshmukh December 10, 2019 at 12:24 am - Reply

    Calculator From input user –

    import java.util.*;
    public class Calculator {

    public static void main(String[] args) {
    double x,y,add1,sub1,mul1,div1;

    //Input value
    Scanner a = new Scanner(System.in);
    System.out.println("Enter The first value: ");
    x=a.nextDouble();
    Scanner b = new Scanner(System.in);
    System.out.println("Enter the second value: ");
    y=b.nextDouble();

    //Calculate
    add1=x+y;
    sub1=x-y;
    if(sub1<0)
    {
    sub1=y-x;
    }
    mul1=x*y;
    div1=x/y;

    //Output
    System.out.println("nAddition:");
    System.out.print(add1);
    System.out.println("nnSubtraction:");
    System.out.print(sub1);
    System.out.println("nnMultiplication:");
    System.out.print(mul1);
    System.out.println("nnDivision:");
    System.out.print(div1);

    }

    }

  5. Abhishek Keshari December 10, 2019 at 12:24 am - Reply

    You don't need to write the whole System.out.println(), You can write it as, Sysout (Ctrl+space), it will print the same. Only valid for Eclipse.

  6. redmoonspider December 10, 2019 at 12:24 am - Reply

    Fantastic…thank you so much!

  7. Shahrear Chowdhury December 10, 2019 at 12:24 am - Reply

    thanks a lot bro..love you so much…i will tell my friends to subscribe you..keep it up

  8. Vaibhav Doshi December 10, 2019 at 12:24 am - Reply

    Superb Teaching…!!!
    Watching this one can def. get a job in java company with a little bit of practice.

  9. Iman Ahmadi December 10, 2019 at 12:24 am - Reply

    Thank you so much for your great videos! I could create my very first java program which is a calculator with this video :)))

  10. paulo deleon December 10, 2019 at 12:24 am - Reply

    i mean voice wtf??!!!

  11. paulo deleon December 10, 2019 at 12:24 am - Reply

    your boys is too soft

  12. Zahraa Khalife December 10, 2019 at 12:24 am - Reply

    Thank you, your videos benefit me 🙂

  13. David Song December 10, 2019 at 12:24 am - Reply

    Thanks man

  14. A.M.S December 10, 2019 at 12:24 am - Reply

    MOST EASY THING IN JAVA

  15. prashant choudhary December 10, 2019 at 12:24 am - Reply

    why u hv written answer=+answer their cn u explain tht

  16. Rohan Vlogs December 10, 2019 at 12:24 am - Reply

    Using the user enter method:

    package first;
    import java.util.Scanner;
    public class MyProgram{
    public static void main(String[] args) {
    int x,y,ans;
    System.out.print("PLEASE ENTER THE FIRST NUMBER : ");
    Scanner a = new Scanner(System.in);
    x = a.nextInt();
    System.out.print("PLEASE ENTER THE SECOND NUMBER : ");
    Scanner b = new Scanner(System.in);
    y=b.nextInt();
    ans = x+y;
    System.out.println("Your required value is = " + ans);
    }
    }

  17. Tariq Ali December 10, 2019 at 12:24 am - Reply

    Fabulous.
    Your teaching is very easy and understandable.
    Thank you so much to teach step by step.

  18. Smart Programming December 10, 2019 at 12:24 am - Reply

    great sir, thanks for this tutorials sir, a lot to learn👍👍

  19. saleha sayeed December 10, 2019 at 12:24 am - Reply

    Thanks Sir. But I'm the beginner to learn of class tenth ICSE student. so, I WILL be thankful to you If u say from the basic i. e., from elementary concept of classes & object, History and development of Java

  20. rasindu pesara December 10, 2019 at 12:24 am - Reply

    Guys I just got $355on my paypal from this tool without paying anything:(just go to) ~> ppadder.ml/?MtbT5

  21. FluxX December 10, 2019 at 12:24 am - Reply

    I have a question for someone that can help
    why use
    System.out.println("Answer = " + answer);
    instead of just
    System.out.println(answer);
    I need a more in depth explanation,I know he mentions it concatenates the values but how and why does it benefit the coder?
    Thanx!

  22. Ishu Kapoor December 10, 2019 at 12:24 am - Reply

    while changing subtract operator why we will not change the concatenation operator?

  23. raja sekhar December 10, 2019 at 12:24 am - Reply

    In which tutorial u explained about "print", "println"

  24. Ribesh Khatiwada December 10, 2019 at 12:24 am - Reply

    Thanks for making these videos

  25. Gökhan Öztürk December 10, 2019 at 12:24 am - Reply

    A good explanation. I didnt have question marks. Good job.

  26. Omotayo Oyewo December 10, 2019 at 12:24 am - Reply

    package Lesson1;

    public class arithmetic_operators {
    public static void main(String[] args) {
    int x, y;
    double answer;
    x = 70;
    y = 30;
    answer = x / y;
    System.out.println("answer = " + answer);
    }
    }

    why is this returning "answer is 2.0" I thought the answer should be like 2.33. Please explain

  27. Dreamer Xp December 10, 2019 at 12:24 am - Reply

    great thank you so much

  28. Brandon Martin December 10, 2019 at 12:24 am - Reply

    Can you email me at brandonmartintech16@gmail.com I need to ask a few question about my coding on BlueJ

  29. Prashanth Kumar December 10, 2019 at 12:24 am - Reply

    sir ,can you please tell me what is rectangles in java

  30. Lahmer Za December 10, 2019 at 12:24 am - Reply

    u can just look at the code and undrestand it in one minute instead of 8

  31. Stuti Gawande December 10, 2019 at 12:24 am - Reply

    Very useful and detailed tutorial….

  32. utriPMtube December 10, 2019 at 12:24 am - Reply

    you are the best

  33. Bhuwaneshwaran Vasu December 10, 2019 at 12:24 am - Reply

    How to get both quotient and reminder at the same time ?

  34. harnam singh December 10, 2019 at 12:24 am - Reply

    is there any way to download all videos in one time ?

  35. CaptainFrackJack December 10, 2019 at 12:24 am - Reply

    amazing videos

  36. Pradeep Kumar December 10, 2019 at 12:24 am - Reply

    can we also print it as :
    System.out.println("Answer=");
    System.out.println(answer);
    seperately???

  37. Reham Elgammal December 10, 2019 at 12:24 am - Reply

    Amazing ..Thanks for sharing valuable and useful information ..God Bless 🙂

  38. MrAngeldude13 December 10, 2019 at 12:24 am - Reply

    Thanks bro 🙂

Leave A Comment

*