This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi Umang, Native method is a method implemented in langs such as C, C++, FORTRAN, Assembly langauages.. The need for Native methods... 1.In Java it is impossible to access libraries and applns in other langs unless one is willing to use the underlying OS. (So Native means - native to the platform one is operating) 2. java is slower than a compiled language. Declaration: It is declared without the body.Even there is no need for empty braces. example : start() method in Thread class declared as follows.. public synchronized native void start();