Hey Guys, could you tell me the different ways to write throw method (Exception Handling) in a program.. I mean like we can write BufferedReader in many ways (2 ways so far i've studied)..
eg;
1. BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
2. BufferedReader br;
{
br = new BufferedReader(new InputStreamReader(System.in));
}