Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
plugins
/
InspectionGadgets
/
test
/
com
/
siyeh
/
igtest
/
numeric
/
divide_by_zero
/
DivideByZero.java
blob: 26254cbd7c5bb5c83e8138616438f7592d152f05 [
file
] [
log
] [
blame
]
package
com
.
siyeh
.
igtest
.
numeric
.
divide_by_zero
;
public
class
DivideByZero
{
int
divide
(
int
num
)
{
return
num
/
3
/
0
;
}
int
rest
(
int
num
)
{
return
num
%
0
%
1
;
}
void
assignment
(
int
i
,
double
d
)
{
i
/=
1
-
1
;
d
%=
0
;
i
/=
d
;
}
}