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".
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.
This section is not available anymore. Please use the main Exam Page.1z0-829 Exam Questions
Log in to ExamTopics
Sign in:
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.
SrinivasJasti
3 months, 3 weeks agoxplorerpj
10 months agoc6437d5
1 year agoTojose
1 year, 3 months ago