please read this code :
class a {
public static void main(
String agrs[]){
System.out.println("Begin ");
suspend();
resume();
System.out.println("End ");
}
}
the answer printed is
Begin
and then the system hangs as it is suspended by suspend command
but why it is not called back by resume.
tell me how the resume functions(through object calls or whatever).
how to print both Begin and End ?