Oracle
1Z0-804 · Question #8
Given: What is the result?
The correct answer is E. Compilation fails. System.out.print(type);// The field type is ambiguous System.out.print(" " + type);// The field type is ambiguous
RAC Architecture
Question
Given:
What is the result?
Exhibit
Options
- AEvent Quiz
- BEvent Event
- CQuiz Quiz
- DQuiz Event
- ECompilation fails
How the community answered
(34 responses)- A3% (1)
- B6% (2)
- C15% (5)
- D3% (1)
- E74% (25)
Explanation
System.out.print(type);// The field type is ambiguous System.out.print(" " + type);// The field type is ambiguous
Topics
#Java inheritance#polymorphism#compilation#method resolution
Community Discussion
No community discussion yet for this question.
