Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java int 0/0

assertThrows(ArithmeticException.class, () -> {
    int result = 0 / 0;
});
Source by www.baeldung.com #
 
PREVIOUS NEXT
Tagged: #java #int
ADD COMMENT
Topic
Name
9+3 =