difference between / and % operator in java
Answers
Answered by
35
these are called wild cards....in Java...these are used to these are used for certain codes ...fr eg .to find out a girl whose name starts with S from a table then these are used in the code....hope this helps...
H4CK58:
The stuff you are talking about is conditional operators...
Answered by
143
'/' is known as division operater and used for division , for e.g. 10 / 5 = 2 i.e. the quotient whereas '%' is known as modulus and used for obtaining the remainder of calculation.for e.g. 10 % 5 = 0 i.e. the remainder.
Similar questions