Home / CSE MCQs / Spring MCQs :: Discussion

Discussion :: Spring MCQs

  1. Which tag is also allowed by static field?
  2. A.
    util:constant
    B.
    list
    C.
    set
    D.
    constructor-args

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    Spring 2 and later allow you to declare a bean from a static field by using the util:constant tag.


Be The First To Comment