exam questions

Exam 1z0-829 All Questions

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

Exam 1z0-829 topic 1 question 43 discussion

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

Given:

What is the result?

  • A. Software Game read error
  • B. Software Game Chess 0
  • C. Software Game Software Game Chess 2
  • D. Software Game Chess 2
  • E. Software Game write error
  • F. Software Game Software Game Chess 0
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
SrinivasJasti
2 weeks, 1 day ago
Selected Answer: D
The object is created with the "Software" and "Game" strings printed due to constructor invocations. The result of System.out.println(s) prints the title and the number of players, i.e., "Chess 2".
upvoted 1 times
...
xplorerpj
6 months, 3 weeks ago
D is the correct answer. Software is printed from constructor of Software class & Game is printed from the constructor of Game class. new Game("chess",2) these values passed to Game constructor are serialized, then when de-serialized and printed, it prints raw string.
upvoted 2 times
...
c6437d5
9 months, 3 weeks ago
Selected Answer: D
D tested correct
upvoted 3 times
...
Tojose
1 year ago
the right option is D. Software Game Chess 2
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