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 [पृष्ठ ४४]