Java Tutorial For Beginners 9 – Logical Operators in Java

///Java Tutorial For Beginners 9 – Logical Operators in Java

Java Tutorial For Beginners 9 – Logical Operators in Java

FavoriteLoadingAdd to favorites

Java logical operators
Searches related to Logical Operators in Java
logical operators in java examples
relational operators in java
use of logical operators in java
logical operators in java definition
logical operators in java meaning
use bitwise logical operators in java
different logical operators available in java
bitwise operators in java

source

Java468x60
By |2019-08-11T21:46:29+00:00August 11th, 2019|Java Video Tutorials|35 Comments

35 Comments

  1. sanashka sharma August 11, 2019 at 9:46 pm - Reply

    I believe there are many more pleasurable opportunities ahead for individuals that looked at your site.

    https://www.slajobs.com/java-training-in-chennai/
    https://www.slajobs.com/dot-net-training-in-chennai/
    https://www.slajobs.com/r-programming-training-institute-in-chennai/

    call : 86087 00340 / 86818 84318

  2. Aiman Durrani August 11, 2019 at 9:46 pm - Reply

    else statement is showing error message??

  3. shephali shekhar August 11, 2019 at 9:46 pm - Reply

    Hi, tried adding 3 conditions in IF with && Operator but it seems that java its comparing boolean with java condition .can you please help on this?

  4. Fizza Qureshi August 11, 2019 at 9:46 pm - Reply

    getting erroe on else .. please help

  5. Sameera Ali Shaik August 11, 2019 at 9:46 pm - Reply

    Just love it. You are such a good instructor. Now, I feel like I'm learning Java much better than before just because of you. Thank you very much 🙂

  6. David Song August 11, 2019 at 9:46 pm - Reply

    Nice tut!

  7. Kodi Admin August 11, 2019 at 9:46 pm - Reply

    Put in everything exactly as in the video and zero output. I checked, and triple checked, and quadruple checked for any mistakes and there isn't any. Only thing is the interpreter doesn't recognize System.out.println() as there is no blue colored "out" in the code. Does anyone know how to solve this?

  8. Immortal Legends August 11, 2019 at 9:46 pm - Reply

    Can also be done as

    package first;
    public class MyProgram{
    public static void main(String[] args) {
    int x=20, y=40;
    boolean A;
    if (x>10 && y>30) {
    A=true;
    }
    else {
    A=false;
    }
    System.out.println("the condition is " + A);
    }
    }

  9. Saptangshu Manna August 11, 2019 at 9:46 pm - Reply

    There is also not logical operator

  10. Smart Programming August 11, 2019 at 9:46 pm - Reply

    best tutorial that intrigued student more in practical than any other, thanks 👍👍

  11. mihir mehta August 11, 2019 at 9:46 pm - Reply

    when i type else {} and output inside the brackets it gives error

  12. Wilfredo Paz August 11, 2019 at 9:46 pm - Reply

    You are the man

  13. Deepak Parihar August 11, 2019 at 9:46 pm - Reply

    how can i type OR OPERATOR sign

  14. Kumar Ratan August 11, 2019 at 9:46 pm - Reply

    your videos are awesome I have learned many things from your videos

  15. Molla Negash August 11, 2019 at 9:46 pm - Reply

    appreciated!

  16. Aline Pasquali August 11, 2019 at 9:46 pm - Reply

    Thank you so much for this precise courses! It helps me a lot.

  17. Maxwell Huber August 11, 2019 at 9:46 pm - Reply

    yahtag

  18. Girish Surve Aka genxt August 11, 2019 at 9:46 pm - Reply

    you have done a great job…thanx for your all videos.

  19. New Web August 11, 2019 at 9:46 pm - Reply

    package Lesson1;

    import java.util.Scanner;

    public class MyClass {
    static Scanner reader = new Scanner(System.in);
    public static void main(String[] args) {
    int note1,note2;
    System.out.println("Enter Note 1: ");
    note1=reader.nextInt();
    System.out.println("Enter Note 2: ");
    note2=reader.nextInt();
    // && Means: AND || Means: OR
    if ((note1 >=10) && (note2 >= 10)) {
    System.out.println("You have Succeeded ^^");
    }
    else {
    System.out.println("You Fucked Up -_-");
    }

    }

    }

  20. Ömer Faruk Turhan August 11, 2019 at 9:46 pm - Reply

    Thank You Very Much..

  21. satya Krishna August 11, 2019 at 9:46 pm - Reply

    very excellent

  22. Saptangshu Manna August 11, 2019 at 9:46 pm - Reply

    What about the not logical operator

  23. Mohammed baig August 11, 2019 at 9:46 pm - Reply

    this tutorial is great keep up this work!

  24. samladsat August 11, 2019 at 9:46 pm - Reply

    aaaand bye for now 😛

  25. emny23 August 11, 2019 at 9:46 pm - Reply

    Great videos! These videos are helping me a ton in my class!

  26. Mark Banks August 11, 2019 at 9:46 pm - Reply

    int subject1 = 100%;-)

  27. Jacob August 11, 2019 at 9:46 pm - Reply

    so what about not in boolean?

  28. LukaXD August 11, 2019 at 9:46 pm - Reply

    Omgggg thankss xD i watched some of tutorials and than next day i tried to do something simpe with all i learned anddd i did itt without errors or help ^^

  29. Duolingo Bird August 11, 2019 at 9:46 pm - Reply

    ¼ B! ▬♂

  30. Hammad Hassan August 11, 2019 at 9:46 pm - Reply

    Just one question,it's really irritating me.I want to get output in such a way e.g if(Subject1>Subject2)
    Output=Subject1 is greater than Subject2
    .I just wanted the syntax..I couldnt do this with println or printf.Give me easy syntax.i'm beginner….

  31. R August 11, 2019 at 9:46 pm - Reply

    public class MyClass

    public static void main (String []) args) }
    int subject1 = 30;
    int subject2 = 80;
    // && -> AND || -> OR
    if (subject 1 >=35) //|| (subject2 >= 35) {
    system.out.println("the condition is true");
    else {

    System.out.println ("the condition is false");
    }
    }
    }

  32. Chris Smit August 11, 2019 at 9:46 pm - Reply

    I love how the C syntax is identical to the Java syntax

  33. alem belko August 11, 2019 at 9:46 pm - Reply

    nevermind i got it

  34. alem belko August 11, 2019 at 9:46 pm - Reply

    can you write
    if ((subject1 =11) || (subject2=13)){
    Sytem.out.println ("score");
    }

  35. Betül Özer August 11, 2019 at 9:46 pm - Reply

    Is there any place that i can get the code?

Leave A Comment

*