GIAC
GSSP-JAVA · Question #64
GSSP-JAVA Question #64: Real Exam Question with Answer & Explanation
The correct answer is B. A method with a native modifier must end with a semicolon. C. It can be applied only to methods.. See the full explanation below for the reasoning.
Question
Which of the following statements about a native modifier in Java are true? Each correct answer represents a complete solution. Choose two.
Options
- AIt can be applied to methods and variables.
- BA method with a native modifier must end with a semicolon.
- CIt can be applied only to methods.
- DIt can be applied only to variables.
- EA separate Java class must be written to provide implementation for a native method.
Community Discussion
No community discussion yet for this question.