This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
That is the scenario.How could i see that line3 is not executed when the method methodA() is invoked in main method. But, line3 should not be commented or any conditions should not be checked in methodA() definition.we should control this execution(skipping line3) from outside that methodA() definition. Acutally this line3 has to be skipped as a part of testing.Hope i'll get help very soon.