Question: Why does Java provide the ability to call from a Java program native methods that are written in, say, C or C++? Provide an example

Why does Java provide the ability to call from a Java program native methods that are written in, say, C or C++? Provide an example of a situation in which a native method is useful.

Step by Step Solution

3.39 Rating (180 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Java programs are intended to be platform IO independent Therefore the language does ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (1 attachment)

Word file Icon

926-B-F-R-A (56).docx

120 KBs Word File

Students Have Also Explored These Related Finance Questions!