Advertisements
Advertisements
प्रश्न
What is the difference between / and % operator?
फरक स्पष्ट करा
उत्तर
S. No. | / | % |
1. | Division (/) operator | Modulus (%) operator |
2. | Returns the quotient of division operations. | Returns the remaining from the division operation. |
3. | Example:
|
Example:
|
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 1.04: Operators in Java - EXERCISES [पृष्ठ ४४]