Which of the following is the most preferred way of throwing and handling exceptions?

Question:Which of the following is the most preferred way of throwing and handling exceptions?

1.Throw by value and catch by reference.

2.Throw by reference and catch by reference.

3.Throw by value and catch by value

4.Throw the pointer value and provide catch for the pointer type.


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!