Hi All,
Thanks...
When I am using below coding:
public class DooBee {
public static void main (String[]args)
{
int x = 1;
while ( x < 3 ) {
System.out.print("Doo");
System.out.print("Bee");
x = x + 1 ;
}
If (x == 3){
System.out.print("Do");
}
}
}
"Getting error "DooBee.java:10: ';' expected
If (x == 3){
1 error"
And when I miss "If (x == 3)" then the program run sucessfully.... thanks Really grate experince in this forum...