public class Test { private void division(int a, int b) { int result = a / b; System.out.println(result); } public static void main(String[] args) { division(2, 0); } }
Login in to like
Login in to comment
or Read more about Java Quizzes
Login in to like
Login in to comment