+2 votes
in JAVA by
Is it possible to define a method in Java class but provide it’s implementation in the code of another language like C in Java?

1 Answer

0 votes
by

Yes, we can do this by use of native methods. In case of native method based development, we define public static methods in our Java class without its implementation and then implementation is done in another language like C separately.

...