Oracle
1Z0-815 · Question #24
Given: Which two lines inserted in line 1 will allow this code to compile? (Choose two.)
The correct answer is A. protected void walk(){} B. void walk(){}. See the full explanation below for the reasoning.
Question
Given:
Which two lines inserted in line 1 will allow this code to compile? (Choose two.)
Exhibit
Options
- Aprotected void walk(){}
- Bvoid walk(){}
- Cabstract void walk();
- Dprivate void walk(){}
- Epublic abstract void walk();
How the community answered
(45 responses)- A71% (32)
- C4% (2)
- D16% (7)
- E9% (4)
Community Discussion
No community discussion yet for this question.
