What is the native keyword in Java?

Asked 1 years ago, Updated 1 years ago, 117 views

I was playing a problem solving game related to Java, and the keyword native came out. What is the native keyword used in Java?

java native keyword

2022-09-22 22:25

1 Answers

native is a keyword that is implemented in a language other than Java (usually C or C++) and then used to use it in Java. It is a method for using Java by implementing something difficult to implement in Java in another language. The Java Native Interface (JNI) is used for implementation.


2022-09-22 22:25

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.