Which of the following is correct ? Select all correct answers.
A. The native keyword indicates that the method is implemented in another language like C/C++.
B. The only statements that can appear before an import statement in a
Java file are comments.
C. The method definitions inside interfaces are public and abstract. They cannot be private or protected.
D. A class constructor may have public or protected keyword before them, nothing else.
The Correct answers were A and B.
I disagreed with B due to the fact that packages are stated befor
the import.
Can anyone please explain why B is correct and my answer was incorrect.