Which one of the following type-oriented statements is incorrect?

  1. User-defined types are also known as reference types.

  2. User-defined types are only defined via classes and interfaces.

  3. An array type is signified by an identifier and one or more pairs of square brackets.

  4. The declaration int[] x; introduces an array type.


Correct Option: B

Find more quizzes: