gudii9
asked on
java operators
Hi,
I wonder exact differences between % and /
sometime i will interchange them
/ like - which is how many times we subtract b from a if i say a/b or 15/7...which is 2?
and 15%7 is actual reminder once 7 subtracted twice from 15 which is 1
I wonder exact differences between % and /
sometime i will interchange them
/ like - which is how many times we subtract b from a if i say a/b or 15/7...which is 2?
and 15%7 is actual reminder once 7 subtracted twice from 15 which is 1
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It's just maths.
You sometimes interchange them? Why would you do something sill like that?
Again I can't stress enough that you get your core Java right. Stop raising questions on maven, hibernate, spring etc. You need the foundations first.