Java Interview Questions And Answers Java Native Method Explain

429 views · Published 12 December 2013 · 2:45 · Indexed 4 November 2026

Channel: Interview DOT · 2013 · Science & Technology

Watch on YouTube

Click here - https://www.youtube.com/channel/UCd0U_xlQxdZynq09knDszXA?sub_confirmation=1 to get notifications. Java Interview Questions And Answers Java Native Method Explain
Java applications can call code written in C, C++, or assembler.

The native modifier indicates that a method is implemented in platform-dependent code, often in C. 

Writing native methods involves importing C code into your Java application.

Seven steps to native method  [The steps to creating native methods are as follows ]:

  Write Java code

  Compile Java code

  Create C header (.h file) 

  Create C stubs file 

  Write C code

  Create shared code library (or DLL)

  Run application

A Job Portal
http://www.InterviewDot.com http://www.InterviewDot.com http://www.InterviewDot.com
One Click Dream Job - http://www.interviewdot.com/upload-resume/uploadresume.htm

Other Top Job Portals
www.Naukri.com
www.MonsterIndia.com
www.TimesJobs.com

Are you looking for a new Job ?
InterviewDot.com - A Job Portal
http://www.InterviewDot.com http://www.InterviewDot.com http://www.InterviewDot.com
One Click Dream Job - http://www.interviewdot.com/upload-resume/uploadresume.htm

More from this channel