how to write java expression
Answers
Answered by
0
Answer:
Expressions in Java are used to fetch, compute, and store values. ... The evaluation of an expression can also produce side effects, such as variable assignments and increment and decrement operations. The value produced by an expression can be either a pure value or a variable or array element.
Java Expressions, Statements and Blocks
int score; score = 90; ...
Double a = 2.2, b = 3.4, result; result = a + b - 3.4; ...
if (number1 == number2) System. ...
int score = 9*5; ...
// expression number = 10 // statement number = 10; ...
// expression ++number // statement ++number; ...
Double tax = 9.5;
Answered by
1
Answer:
java expression... related to attached doc
Attachments:
Similar questions
Math,
17 days ago
Math,
17 days ago
English,
1 month ago
Environmental Sciences,
1 month ago
Physics,
9 months ago