public class mm;
public static void main()
{
for (int i=-10;i<=0;i++)
{
system.out.println(i);
}
}
guys the public class nm is creating some prob...i need the correct methord plz..help
Answers
Answered by
1
public class Mm
{
public static void main(String [] args)
{
for (int i=-10;i<=0;i++)
System. out. println(i);
}
}
First letter of class name is always capital
{
public static void main(String [] args)
{
for (int i=-10;i<=0;i++)
System. out. println(i);
}
}
First letter of class name is always capital
Similar questions