Flow Control

© examsiri.com
Question : 7 of 14
 
Marks: +1, -0
Given:
1. public class ClassA {
2.   public void count(int i) {
3.    count(++i);
4.   }
5. }
And:
6. ClassA a = new ClassA();
7. a.count(3);

Which exception or error should be thrown by the virtual machine?
Go to Question: