हिंदी

Which of the following is user defined data type? 1. array 2. double 3. class 4. boolean

Advertisements
Advertisements

प्रश्न

Which of the following is user defined data type?

1. array 3. class
2. double 4. boolean

विकल्प

  • only 1

  • 1 and 3

  • only 2

  • only 4

MCQ
Advertisements

उत्तर

1 and 3

Explanation:

Arrays and classes are user-defined data types in Java. Both can be defined by the user and hold multiple data elements.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2024-2025 (March) Official Board
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×