10 .public class testdemo
{
11. static void test() throws RuntimeException {
12. try {
13. System.out.print(�test �);
14. throw new RuntimeException();
15. }
16. catch (Exception ex) { System.out.print(�exception �); }
17. }
18. public static void main(String[] args) {
19. try { test(); }
20. catch (RuntimeException ex) { System.out.print(�runtime �); }
21. System.out.print(�end �);
22. }
23.}
When i used thios it gives me o/p test exception end
Can you please expalin me the difference the two .
