हिंदी

System.out.println("I said,\“It\'s wise to obey elders.\””); The output of the above statement is: - Computer Applications

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
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×