
import java.util.*;
class enter{
public static void main(String args[]){
int a;
Scanner p=new Scanner(System.in);
/*add some command such a time limit
assign for next two commands*/
a=p.nextInt();
System.out.println(a);
System.out.println("i love java");
}
}
i.e if a user do not give any value for any time limit (say 5 sec) then after 5 sec next command will be executed i.e output will be " i love java".
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.