Computer Science, asked by ravi7879747484, 1 month ago

how to write java expression​

Answers

Answered by saramariyaab
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 devanshitiwari15
1

Answer:

java expression... related to attached doc

Attachments:
Similar questions