//Let's create program which Run Infinite time .
public class CommandPrompt
{
public static void main(String[] args) throws IOException
{
for(;;)
{
System.out.println("Wel-come To Infinite world");
}
}
}
// it's happen when loop condition always evaluated true .
No comments:
Post a Comment