Slide 28
Slide 28 text
class Point {
int x;
int y;
Point() {
this.x = 0;
this.y = 0;
}
Point(int x, int y) {
this.x = x;
this.y = y;
}
}
Point(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
0: aload_0
1: invokespecial #1
// Method java/lang/Object."":()V
4: aload_0
5: iload_1
6: putfield #7 // Field x:I
9: aload_0
10: iload_2
11: putfield #13 // Field y:I
14: return
LineNumberTable:
line 10: 0
line 11: 4
line 12: 9
line 13: 14