Image Image Image Image Image Image Image Image Image Image

Mudassir Shahzad | June 23, 2017

Scroll to top

Top

JNI

Why main method is static in Java

June 21, 2013 |

This is one of the basic question asked in interviews or in gatherings of professionals.

So here we go,

Main method is static in java because

 

This is just a convention. In fact, even the name main(), and the arguments passed in are purely convention. Read More

Native methods in java – Java Native Interface (JNI)

January 29, 2013 | | One Comment

java.lang.Object class defined like

Now, in spite of having two years of hands on experience in java and related technologies, I didn’t know that it is a native method. This made me dig deeper and explore the native interface API provided by java. Read More

not found