मराठी

Give the output of the following method definition and also write what mathematical operation it carries out: void test3(char c) { System.out.println( (int) c); } if 'm' is passed to c. - Computer Applications

Advertisements
Advertisements

प्रश्न

Give the output of the following method definition and also write what mathematical operation it carries out: 

void test3(char c)
{
    System.out.println( (int) c);
}

if 'm' is passed to c. 

थोडक्यात उत्तर

उत्तर

109
(The mathematical process carried out is to display the ascii value of a character).

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 5: User - Defined Methods - EXERCISES [पृष्ठ ३३६]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
पाठ 5 User - Defined Methods
EXERCISES | Q IV. 3. | पृष्ठ ३३६
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×