java Operators Flashcards
—— in java are——- that carry out specific tasks using one, two, three inputs, called ———.
- Operators
- Special symbol
3.operands
After performing their tasks, these operators give back a —–. They are important because they allow you to perform various actions on ——– and —— in your program.
1.result
2. variables
3.values
Why do wee need Java operators?
- Perform Math Calculations
- Make Decisions
3.Manipulate Data - Simplify Code
Operators help carry out ———, which are crucial for any mathematical tasks in your program.
- Perform Mathematical calculations
- basic Mathematical calculations.
they allow the program to make ——- by comparing — and using ——–. This helps controls what the program is based on certain———
1.Make Decisions
2.decisiosns
3.values
4. logical operators
5. conditions
Operators can change —– at —— like – and —-, making data processing more ——-.
- Manipulate Data
- data
3.minimal levels
4.bits
5.bytes
6.efficient
Some operators, like —– and —— operators, make the code ——- and ——- by reducing———
1.Simplify Code
2.assignments
3.unary
4. easier to read
5.understand
6. complexity
Types of operators in Java
- Arithmetic Operators
- Relational operators
- Logical Operators
- Assignment Operators
- Conditional Operators
- Unary Operators
- Ternary Operators
———— are ——– or ——– that perform action on a ———, which can be a variable, a number, or an expression.
- Unary Operators
2.special symbols
3.keywords - single operand
Unary operators are special symbols or keywords that perform actions on a single operand, which can be a ——, a ———, or an ———. In, unary operators are ———-
1.variable
2.number
3.expression
4.essential
An —– is simply —- or —— that the operator works with
1.operand
2.value
3.expression
A has an ASCII
65
(-) -It is used to denote a negative value
Unary Minus
(+)- it is used to denote a positive value
Unary Plus
(–) Decrements value by 1
Decrement operator