Yahoo Interview Question for Software Engineer / Developers






Comment hidden because of low score. Click to expand.
0
of 0 vote

inversion of control?
dependency injection?

- Zaphod March 03, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Spring IOC is Inverson of Control.

Definition of IoC - this is a principle of describing an aspect of some software architecture designs in which the flow of control of a system is inverted in comparison to procedural programming.

Spring IoC - container is where the BeanFactory interface is located. IoC takes the responsibility for making things happen into the framework away from the java code.

Basically, with spring a lot of the navigation, transitions, etc.. are moved into the XML files and the java code is used for the actual code logic. IoC is the mechanism that makes that happen.

Example: you create a backing-bean for a JSP that processes a search. the java code will hold the logic process the search the XML files will hold the logic for the page navigation(if the search is successful/error/non successful what to do) plus they wire the dependencies to other classes - etc...

- biggied88 March 03, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Go for this article:
technologiquepanorama.wordpress.com/2008/11/27/asc/

- Harshit April 25, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Spring IOC is setter dependency injection. IOC is nothing but DI.

h t t p ://martinfowler.com/articles/injection.html#InversionOfControl

- Singleton July 03, 2010 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More