reorganize, simplify build, multiple methods WIP

This commit is contained in:
dankeyy 2023-03-16 22:24:29 +02:00
parent 1dd46c985f
commit 35560efc0a
No known key found for this signature in database
GPG key ID: 9EBEF7DB1A70533D
10 changed files with 182 additions and 217 deletions

View file

@ -0,0 +1,15 @@
package javaSource;
public class Demo {
static {
System.loadLibrary("interop");
}
public static native String sayHello(String num);
// public static native int[] mularr(int[] arr);
public static void main(String[] args) {
System.out.println(sayHello("Brendan"));
// int[] arr = {10, 20, 30, 40};
// System.out.println(mularr(arr));
}
}