answersLogoWhite

0

Logical operators don't Compare values they combine Boolean values and produce a Boolean result. Examples of logical operators are && (and), , (or), ! (not). If you have two Boolean values and you combined them with the && operator the result will be (TRUE) only if both values were (TRUE).

Relational operators compare two values and produce a Boolean result. Most of the time we use logical operators to combine the results of two or more comparison expressions that use relational operators.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

Advantages of logical operators over relational operators using If Then ElseIf statement?

you are a full time wanker.


What are different type's operators?

The different types of operators are as follows: *Arithmatic operator *Relational operator *Logical operator *Assignment operator *Increment/Decrement operator *Conditional operator *Bitwise operator *Special operator


Explain the categories of PHP Operators in web technology?

There are arithmetic operators (+, -, %, ++, etc.), comparison operators (<, ==, >=, !=, etc.), logical operators (&&, !, , etc.), assignment operators (=, *=, %=, +=, etc.), conditional operator (?:). The order of operations is unary (!, ++, --), multiplicative (left to right; *, /, %), additive (left to right; +, -), relational (left to right; <, <=, >, >=), equality (left to right; ==, !=), logical and (left to right; &&, and), logical or (left to right; , or), conditional (?:), assignment.


What are the different types of operations of c?

c have different types of operations are there these are 1:logical operators 2:conditional 3:arithmetic 4:bit wise operators 5:increment&decrement 6:relational operators 7:assignment operators 8:special operators we can use above operators. we can implementing the operations. suppose logical operators &&,,! by using these we can implement operations


What is operator in java?

An operator is a symbol that does something in Java. for ex: "+" is an arithmetic operator that adds two numbers. ">" is a logical operator that checks if one number is greater than the other. There are many different types of operators in Java like Arithmetic, Logical, Relational and Assignment operators


What are different types of operators?

The different types of operators are as follows: *Arithmatic operator *Relational operator *Logical operator *Assignment operator *Increment/Decrement operator *Conditional operator *Bitwise operator *Special operator


What are different operator in Awk?

In Awk, operators are used to perform various operations on data. The main types include arithmetic operators (e.g., +, -, *, /, %), relational operators (e.g., ==, !=, <, >, <=, >=), and logical operators (e.g., &&, ||, !). Additionally, there are string operators like concatenation ("string1" "string2"), and assignment operators (e.g., =, +=, -=, etc.). These operators enable effective data manipulation and processing in Awk scripts.


Less than greater than and NOT not equal to are examples of?

Less than, greater than, and NOT not equal to are examples of relational operators. These operators are used in programming and mathematics to compare values and determine relationships between them. They help in making decisions based on conditions, such as in control flow statements or logical expressions.


What are the different types of Operators available in java?

arithmatic operator +,-,*,/,% assigment oprator == logical operator &,|,^,&&,,! bitwise opertor &,|,^ left shift << right shift >> left shift zero fill << assignment operator +=,-=,*=,/=


Expansion of oracle?

orakridge relational automatic computer logical engine orakridge relational automatic computer logical engine


What are the uses of logical operators in Java?

Logical Operators are those that are used for doing logical operations. There are a total of 6 logical operators (&, |, ^, !, &&, and ‖) Of the six logical operators listed above, three of them (&, |, and ^) can also be used as "bitwise" operators. There are two non-short-circuit logical operators. • & non-short-circuit AND • | non-short-circuit OR There are two short-circuit logical operators • && short-circuit AND • short-circuit OR


What are the primary categories of operators?

The primary categories of operators in programming and mathematics include arithmetic operators (such as addition, subtraction, multiplication, and division), relational operators (used to compare values, like equal to and greater than), logical operators (such as AND, OR, and NOT), and bitwise operators (which perform operations on binary representations of integers). Each category serves distinct functions in manipulating data and controlling flow in programs.