public class demo1 {
int i;
i=0;
public static void main(
String args [])
{
System.out.println("Demo Program Execution");
}
}
and
public class demo1 {
int i=0;
public static void main(String args [])
{
System.out.println("Demo Program Execution");
}
}
The only change i made:
1st prog:int i;
i=0;
2nd Prog:int i=0;
Which is correct...
(title edited to quieten it down to a question rather than a shout)
[ February 15, 2007: Message edited by: Barry Gaunt ]