A try-catch block in java is used to handle exception which in result maintain the flow of program. try{ //your code }catch(Exception e){ System.out.println(e); } The above code looks simple but if I give you another code below and ask what...

Markdown supported · ⌘↵ to post
No responses yet.