if statement in Java

@gudjhong (111)
Philippines
August 20, 2007 10:46am CST
//java int i = 0; if (i == 0) { System.out.ptinln("Hello World"); }else{ /*if varible i is not equals system will print */ "Hello Duke" System.out.ptinln("Hello Duke") }
2 responses
@senthil2k (1501)
• India
30 Nov 07
I really dont understand on what exactly you are looking for with this. Is this a question or something else. ?
• China
25 Nov 07
you need to be care of the grammer, and add semicolons after a statement