Spring IOC Set1

can we use index and type attribute togather ?

Which of the following is not a module in Spring Framework ?



Which   of the following statement is false ?

Which of the following is false?

A bean is simply an object that is instantiated, assembled and otherwise managed by a Spring IoC container.

Which of the following  is  actual representation of the Spring IoC container ?

How container load configuration metadata from a variety of external resources such as the local file system from the Java CLASSPATH ?


Which of following is correct way  to load bean definitions from another file ?


package com.bullraider;

public class TestBean {

private int year;

private String happy;

public TestBean( String happy,int year) {

this.year = year;

this.happy = happy;



What is the correct way to write constructor injection?