exam questions

Exam 1z0-808 All Questions

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

Exam 1z0-808 topic 1 question 199 discussion

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

Examine the given definitions:
and the code fragment:

Which statement is true about the implementation of Object-Oriented Programming concepts in the given code?

  • A. Polymorphism, abstraction, and encapsulation are implemented.
  • B. Only polymorphism and inheritance are implemented.
  • C. Polymorphism, inheritance, and abstraction are implemented.
  • D. Only inheritance and encapsulation are implemented.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
alex_au
Highly Voted 2 years, 7 months ago
Selected Answer: A
The answer should be A as the encapsulation is done by .setPlayers and setting the players list as private, thus hiding the data. There is no inheritance as Game only implements, but not extends, the interface
upvoted 5 times
...
MPignaProTech
Most Recent 6 months, 3 weeks ago
Selected Answer: A
A is correct in the given example
upvoted 1 times
...
sina_
1 year, 10 months ago
Selected Answer: C
abstract means pales override me
upvoted 1 times
...
akbiyik
2 years, 5 months ago
Selected Answer: A
The correct answer is A
upvoted 2 times
...
carloswork
2 years, 7 months ago
Selected Answer: A
I agree that option A is more complete with context.
upvoted 2 times
...
iSnover
2 years, 7 months ago
Selected Answer: C
The answer is C. We make a polymorphism when we instantiate a variable of type "playable" referencing an object of type "Game", we have erance because the "Game" class inherits the methods of the "playable" interface and we have abstraction because by default any method of an interface is abstract, public and void, so we have abstraction as well.
upvoted 1 times
ShaileshRaj
1 year, 7 months ago
As said there in polyorphism but other 2 are implemented
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 ...