exam questions

Exam 1z0-819 All Questions

View all questions & answers for the 1z0-819 exam

Exam 1z0-819 topic 1 question 146 discussion

Actual exam question from Oracle's 1z0-819
Question #: 146
Topic #: 1
[All 1z0-819 Questions]

Given:



and

public interface InterfaceTwo extends AbstractClass { }

and



and



Which three changes make this code compile? (Choose three.)

  • A. Implement methodC() in ConcreteClass
  • B. Implement methodB() in ConcreteClass
  • C. Add the keyword abstract to the methodA() and methodB() declarations in InterfaceOne
  • D. Remove methodA() from InterfaceOne
  • E. InterfaceTwo should no longer extend AbstractClass
  • F. Implement methodA() in ConcreteClass
  • G. Remove methodA() from AbstractClass
Show Suggested Answer Hide Answer
Suggested Answer: BDE 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
c47d39c
5 months, 2 weeks ago
methodC(String c) in concrete class is an overloaded method ,and there is need for implementing methodC()..making ABE correct
upvoted 1 times
...
Stavok
1 year, 6 months ago
Selected Answer: ABE
A,B,E is correct TESTED
upvoted 1 times
...
KiraguJohn
1 year, 7 months ago
BDE, methodB has not been implemented so it must be implemented in the concrete class Interface cannot extend a class can only extend other classes
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago