Home / CSE MCQs / Spring MCQs :: Discussion

Discussion :: Spring MCQs

  1. Which attribute is used to set the scope of the bean?
  2. A.
    setScope
    B.
    scope
    C.
    getScope
    D.
    none of the mentioned

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    Scope attribute defines the scope of a bean.


Be The First To Comment