KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > LineNumberTest


1 public class LineNumberTest {
2     
3     public static void main(String JavaDoc [] args) {
4
5         //Object o = new Integer(9);
6
int i = 10;
7         int x = 9;
8         int y = 9;
9         int z = 6;
10         if (i == 2) {
11             i = x + 1;
12             i = y - 1;
13             i = z * 2;
14         }
15         else if (i == 5){
16             z = 3;
17             y = 4;
18         }
19         while (i > 10 ) {
20             i = i - 3;
21         }
22     }
23
24     public LineNumberTest(){
25         super();
26     }
27 }
28
Popular Tags