Advertisements
Advertisements
प्रश्न
How is Java expression different from statement?
थोडक्यात उत्तर
उत्तर
- Java Expression: Java Expression is a collection of variables, constants, and arithmetic operators. In other words, it combines operators and operands. Example: a*b+8.
- Java Statement: In Java, applying an expression to a variable creates an arithmetic statement. Example: m = a*b + 8.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 1.04: Operators in Java - EXERCISES [पृष्ठ ४४]