Java AND OR Operator
Java provides many types of operators which can be used according to the need. In this video you will learn Java AND OR Operator with simply method.
Java OR Operator
The logical || operator would not test 2d circumstance if first situation is true. It assessments 2nd situation solely if first one is false.
The bitwise | operator constantly exams each stipulations whether or not first situation is proper or false.
class OperatorExample{
public static void main(String args[]){
int a=10;
int b=5;
int c=20;
System.out.println(a>b||ab|ab||a++b|a++
Post a Comment
Thanks for touching with us.