Answer is A and correct, because the obj2 is a same object of obj1 (Vowel obj2 = Vowel obj1), then when change obj2.var to 'i' changes too obj1.var to 'i'. Then print "a, e, i, i".
upvoted 1 times
...
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.
DarGrin
3 months, 1 week agoVicky_65
9 months, 2 weeks agoodzio33
11 months agoiSnover
1 year, 3 months ago