I have some c++ class:
class Test{
public:
int a,b,c;
Test(){
a=b=c=3;
}
};
How to use it in jvm? Like:
public static void main(String[] args){
System.loadLibrary("Test")
Test t=new Test();
System.out.println(t.a+" "+t.b+" "+t.c);
}
In all examples that I found methods been are static-like, non dependent on instance