✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Mis ilmub ekraanile?
public class MinuErind extends Exception { private int arv; public MinuErind(int arv) { this.arv = arv; } @Override public String toString() { return "arv"; }}
public class TestMinuErind { static void meetod(int arv) throws MinuErind{ throw new MinuErind(arv); } public static void main(String[] args) { try { meetod(3); } catch (MinuErind e) { System.out.println(e); } }}
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!