exam questions

Exam 1z0-809 All Questions

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

Exam 1z0-809 topic 1 question 40 discussion

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

Given:
public class Canvas implements Drawable {
public void draw () { }
}
public abstract class Board extends Canvas { }
public class Paper extends Canvas {
protected void draw (int color) { }
}
public class Frame extends Canvas implements Drawable {
public void resize () { }
}
public interface Drawable {
public abstract void draw ();
}
Which statement is true?

  • A. Board does not compile.
  • B. Paper does not compile.
  • C. Frame does not compile.
  • D. Drawable does not compile.
  • E. All classes compile successfully.
Show Suggested Answer Hide Answer
Suggested Answer: E 🗳️

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
aymanj
Highly Voted 3 years, 4 months ago
Answer is E, TESTED. class Canvas implements Drawable { public void draw () { } } abstract class Board extends Canvas { } class Paper extends Canvas { protected void draw (int color) { } } class Frame extends Canvas implements Drawable { public void resize () { } } interface Drawable { public abstract void draw (); }
upvoted 6 times
...
asdfjhfgjuaDCV
Most Recent 4 months, 3 weeks ago
E is the answer
upvoted 1 times
...
steefaand
5 months, 3 weeks ago
Selected Answer: E
E is correct.
upvoted 1 times
...
r1muka5
1 year, 4 months ago
Correct answer is E
upvoted 1 times
...
WilsonKKerll
2 years, 4 months ago
Answer is E..
upvoted 3 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