Java J2EE Interview Questions
Questions Answers Views Company eMail

Explain the different types of spring container?

153

Explain the difference between @autowired and @inject?

174

Explain the use of spring security?

161

List some of the design patterns used in the spring framework?

154

What do you mean by autowiring in spring?

141

What do you mean by @controller annotation in spring?

155

What do you mean by viewresolver in spring?

164

What do you mean by dependency injection and how does it work?

169

Explain the difference between ioc and di?

162

List the modules used in spring framework?

159

What is spring? Explain

176

What do you mean by @qualifier in spring?

162

What do you mean by dao in spring?

169

What is the benefit of using hibernate?

378

What are the steps of calling a stored procedure in hibernate?

202


Un-Answered Questions { Java J2EE }

Explain what is Marker interface?

620


What is Generic in java? Where can we write Generic ( class or method or objects or etc...)? with simple example? Thanks, Bose. Infosys 2 In which way does a Primitive data type is passed ? Sun- Microsystems 4 what is the use of declaring constructor as private? Sai- Softech 5 what is difference between global methods and local methods? 1 What is meant by class loader and how many types are there? Apple 1 what is meaning of JIT? 4 What is an abstract class? Wipro 5 what is filters and its use? Virtusa 2 why is multiple inheritance not allowed in java? Elementus-Technologies 7 Differences between jdk 1.4 and 1.5 Wipro 4 is JVM platform dependent or independent..? IBM 6 what is main purpose of abstract class? 5 what is difference between colection and collections? Tech-Mahindra 11 What error occurs if a try-catch-finally statement sequence does not have a catch clause? 2 Explain the difference between scrollbar and scrollpane? 1 Explain the differences between public, private, protected and static? 4 Explain the difference between getAppletInfo and getParameterInfo? 1 Is Cegonsoft Pvt.Ltd. a good Institute? 4 Why only one Class is public in one file? Explain in details. Thanks in Advance. 11 Which method will get invoked first in a stand alone application?

2329


placement papaers of spring computing technology

1026


What is protected in java?

527


Can we overload final method in java?

552






What is inverse of control in spring?

156


What are JDBC Best Practices?

555


Draw a UML class diagram for the code fragment given below: public class StringApplet extends Applet { private Label sampleString; private Button showTheString; private ButtonHandler bHandler; private FlowLayout layout; public StringApplet() { sampleString = new Label(" "); showTheString = new Button (" Show the String"); bHandler = new ButtonHandler(); layout = new FlowLayout(); showTheString.addActionListener(bHandler); setLayout(layout); add(sampleString); add(showTheString); } class ButtonHandler implements ActionListener { public void actionPerformed(ActionEvent e) { samplestring.setText("Good Morning"); } } } Note: The methods need not be indicated on the diagram.

1590


What is difference between pojo and dto?

178


Can private members of a base class are inheritable justify?

488


What is dburl?

586


Can we create an object if a class doesn't have any constructor ( not even the default provided by constructor ) ?

554


Which model components are supported by Struts?

569


What is the reason behind using constructors and destructors?

558


What is default locale java?

538