projects
/
mate.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
invokevirtual: native methods
[mate.git]
/
tests
/
Instance5.java
1
package tests;
2
3
public class Instance5 {
4
public int x;
5
public Instance5() {
6
x = 0x11;
7
}
8
9
public static void main(String []args) {
10
Instance5 a = new Instance5();
11
12
a.setX(0x1337);
13
a.printX(a.x);
14
}
15
16
public void setX(int a) {
17
this.x = a;
18
}
19
20
public native void printX(int x);
21
}