Home / CSE MCQs / JUnit MCQs :: Discussion

Discussion :: JUnit MCQs

  1. To define a ________ in a JavaBean class, public getter and setter methods have to be supplied.
  2. A.
    Class
    B.
    Object
    C.
    Value
    D.
    Property

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    Public setter and getter methods are required for Properties to be defined in JavaBeans classes.


Be The First To Comment