For instance, is the following legal
public class Foo {
private native int bar;
}
For instance, is the following legal
public class Foo {
private native int bar;
}
Sooner or later the folks out there will start asking on SO where their car keys are on.
And this is everything but fun. I mean, come on, writing the above code in Notepad, saving it as a .java file* and running javac
over it should have taken less than posting over here.
* Enclose the name of the file between "
as in "OurFirstEverNotepadJavaUnitTheGreatNativeTest.java", otherwise you'll get a (kernel) panic attack once you'll see it gets saved as .java.txt