import java.util.*;
public class ReturnEx {
public static void main(String[] args) {
boolean value = true;
System.out.println("Before return statment.");
if (value)
return;
System.out.println("This will not be printed.");
}
}
Posted inJAVA