Oracle
1Z0-815 · Question #9
Given: Which two statements are valid to be written in this interface? (Choose two.)
The correct answer is B. final void methodG(){ G. public void methodF(){. See the full explanation below for the reasoning.
Question
Given:
Which two statements are valid to be written in this interface? (Choose two.)
Options
- Apublic abstract void methodB();
- Bfinal void methodG(){
- Cprivate abstract void methodC();
- Dpublic String methodD();
- Epublic int x;
- Ffinal void methodE();
- Gpublic void methodF(){
How the community answered
(32 responses)- A13% (4)
- B75% (24)
- C6% (2)
- D3% (1)
- F3% (1)
Community Discussion
No community discussion yet for this question.