adplus-dvertising
frame-decoration

Question

Which attribute is used to specify class name of the bean?

a.

name

b.

id

c.

class

d.

constructor-args

Posted under Java Spring Framework

Answer: (c).class

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which attribute is used to specify class name of the bean?

Similar Questions

Discover Related MCQs

Q. Which of the following method can be used to used to instantiate a method?

Q. Which attribute is used to specify static factory-method?

Q. Purpose of Static Factory Method?

Q. Exception thrown by factory method?

Q. A bean can have more than one name using multiple id attributes?

Q. Bean’s naming convention:-
starts with lowercase, camelcase from then on.?

Q. Beans can be created by which of the following properties?

Q. The bean instance is mentioned by the factory-method attribute, while the factory method is signified by the factory-bean attribute?

Q. One factory class can also hold more than one factory method.

Q. Instance Factory method main purpose is to encapsulate the object-creation process in a method of another object instance.

Q. Which Attribute is used to specify the bean declared?

Q. Declaring Beans using:-Ways to declare bean from a static field?

Q. Declaring Beans using:-Ways to declare bean from a static field?Declaring a bean from a static field requires a built-in factory bean FieldRetrievingFactoryBean and fully qualified field name or instance field is specified in the list property.As an alternative to specifying the field name in the staticField property explicitly, you can set it as the bean name of FieldRetrievingFactoryBean.

Q. Declaring Beans using:-

Q. Declaring Beans using:-Ways to declare bean from a static field?Declaring a bean from a static field requires a built-in factory bean FieldRetrievingFactoryBean and fully qualified field name or instance field is specified in the list property.

Q. Which tag is also allowed by static field?

Q. Declaring bean form object properties can be done using:-

Q. Inner Bean can be retrieved by it’s name.

Q. PropertyPathFactoryBean declares a bean from an:-

Q. The propertyPath property of PropertyPathFactoryBean can accept only a single property name.