Home Python C Language C ++ HTML 5 CSS Javascript Java Kotlin SQL DJango Bootstrap React.js R C# PHP ASP.Net Numpy Dart Pandas Digital Marketing

Learn Dart Operators

It looks like you might be referring to Dart programming language operators. Dart, being a language developed by Google, has various operators for arithmetic, logical, bitwise, and other operations.



Dart Operators

1. Arithmetic Operators : These are used for basic arithmetic operations.
(a) Addition (+)
(b) Subtraction (-)
(c) Multiplication (*)
(d) Division (/)
(e) Modulo (Remainder) (%)
(f) Integer Division (Divide and truncate) (~/)


2. Assignment Operators: These are used to assign values to variables.
(a) Assignment (=)
(b) Addition assignment (+=)
(c) Subtraction assignment (-=)
(d) Multiplication assignment (*=)
(e).Division assignment (/=)
(f) Modulo assignment (%=)


3. Comparision Operators : These are used to compare values.
(a) Equality (==)
(b) Inequality (!=)
(c) Greater than (>)
(d) Less than (<)
(e) Greater than or equal to (<=)
(f) Less than or equal to (>=)


4. Logical Operators: : These are used to perform logical operations.
(a) Logical AND (&&)
(b) Logical OR (!!)
(c) Logical NOT (!)

5. Bitwise Operators : These are used for bitwise manipulation of integers.
(a) Bitwise AND (&)
(b) Bitwise OR (!)
(c) Bitwise XOR (^)
(d) Bitwise NOT (~)
(e) Left shift (<<)
(f) Right shift (>>)


6. Conditional Operator: Also known as the ternary operator.
condition ? expr1 : expr2

7. Type Test Operators:
(a) (as) Typecast
(b) (is) True if the object has the specified type
(c) (is!) False if the object has the specified type


These are the basic operators in Dart. They allow you to perform various operations, control program flow, and manipulate data effectively.




Advertisement





Q3 Schools : India


Online Complier

HTML 5

Python

java

C++

C

JavaScript

Website Development

HTML

CSS

JavaScript

Python

SQL

Campus Learning

C

C#

java