Advertisements
Advertisements
प्रश्न
System.out.println("I said,\“It\'s wise to obey elders.\””);
The output of the above statement is:
पर्याय
I said,‘It is wise to obey elders.’
I said, “It’s wise to obey elders.”
I said,It’s wise to elders.
“'It's wise to obey elders.'”
MCQ
Advertisements
उत्तर
I said, “It’s wise to obey elders.”
Explanation:
The '\’ An escape sequence hides the special meaning of a character.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2024-2025 (March) Official Board
