What is the native keyword in Java?

Asked 2 years ago, Updated 2 years ago, 135 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.