हिंदी

Write the output of the codes given below. String at = "BANANA"; String ar = at.concat(at.replace ( 'N', 'T')); System.out.println( “ AR :: " + ar );

Advertisements
Advertisements

प्रश्न

Write the output of the codes given below.

String at = "BANANA"; String ar = at.concat(at.replace ( 'N', 'T'));
System.out.println( “ AR :: " + ar );
अति संक्षिप्त उत्तर
Advertisements

उत्तर

AR :: BANANA BAТАТА

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 10: String Handling - Exercises [पृष्ठ २४८]

APPEARS IN

रुपा पंडित Computer Applications [English] Class 10 ICSE
अध्याय 10 String Handling
Exercises | Q 3. (l) | पृष्ठ २४८
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×