What isnottrue of a Java bean?

  1. There are no public instance variables.

  2. All persistent values are accessed using getxxxand setxxxmethods.

  3. It may have many constructors as necessary.

  4. All of the above are true of a Java bean.


Correct Option: C

Find more quizzes: