मराठी

Write the Java statement to initialise the first 6 odd numbers in a 3 × 2 array. What is the result of x[0][1] + x[2][1] of the above array? - Computer Applications

Advertisements
Advertisements

प्रश्न

Write the Java statement to initialise the first 6 odd numbers in a 3 × 2 array. What is the result of x[0][1] + x[2][1] of the above array?

कोड लेखन
Advertisements

उत्तर

  • int ar[][]={{1,3},{5,7},(9,11}};
  • 14 

Explanation:

x[0][1] =3, x[2][1]=11

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2024-2025 (March) Official Board
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×