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