i did run the code and it's B
for this String[] furnitures = ("Door","Window","Chair"]; it was a mistake they mean
String[] furnitures = {"Door","Window","Chair"};
Code does not Compile due to the missing closing bracket which has been replaces by the square bracket...String[] furnitures = ("Door","Window","Chair"];
A is the Correct answer
Won't compile due to the brackets..... String[] furnitures = ("Door", "Window", "Chair"];
upvoted 2 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.
Bugmenot240411
3 weeks agoStavok
1 year agoKiraguJohn
1 year, 1 month ago