exam questions

Exam 1z0-819 All Questions

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

Exam 1z0-819 topic 1 question 191 discussion

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

Which two statements are true about a class that is marked @Deprecated? (Choose two.)

  • A. Using the class will cause the Java compiler to give a warning.
  • B. The class cannot be extended.
  • C. The author of the class wants to discourage people from using the class in any way.
  • D. There is always another class that can be used instead of the deprecated class.
  • E. Using the class is guaranteed to cause errors at runtime.
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

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
Mehdi_Kh
3 months, 1 week ago
A : When a class is marked as @Deprecated, the compiler issues a warning whenever the class is used, indicating that the class is outdated or will be removed in the future. C : The purpose of marking a class as @Deprecated is to signal to developers that it is no longer recommended for use, typically because there is a better alternative or the class will be removed in a future release. A/C
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