in java In Java integer division is performed using the ope
in java
In Java, integer division is performed using the // operator.
T or F
Solution
In Java, integer division is performed using the // operator.
Answer: False
In Java // is used to mark comments, for divion we should use / operator.
Example for writing a comment is shown below
//this is a comment
Example for performing integer division is shown below
int a=10,b=2;
int r;
r=a/b; (this statement performs a divsion of a and b and the remainder is assigned to r)

