
can we declare a method in java like this
static { System.loadLibrary("nativelib"); }
i have seen this in a java learning E book.
i don't understand the static { } plz help me. what kind of method is it, what it do, what are the advantages of this kind of method?
Answer me soon. thanx
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
