Which of the following statements about a native modifier in Java are true?
Each correct answer represents a complete solution. Choose two.
It can be applied to methods and variables.
A method with a native modifier must end with a semicolon.
It can be applied only to methods.
It can be applied only to variables.
A separate Java class must be written to provide implementation for a native method.
Submit