Search Interview Questions
| More than 3000 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Java - Interview Questions and Answers|
|Ans. Yes an application can have configuration stored at multiple places. Factors that could facilitate such a design could be |
1. Type of config information - We may have a case to store confidential information differently than other regular config value
2. Environment - We may like to have a base config ( defined in application package ) and then a different override mechanism in different environments.
3. Centralization - Sometime some configs need to be shared across application and hence centralized.
4. Testing - Testing against config may not be possible in some enviornments in certain cases and hence additional config store might be kept for testing purpose only.
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  Design  Solution|
|Let's suppose we have an to destroy objects, Design a program to implement garbage collection ?|
|What is Dependency Injection or IOC ( Inversion of Control ) ?|
|Design an e commerce application using AWS ? What AWS services will you use ?|
|What are the Wrapper classes available for primitive types ?|
|Difference between Factory and Abstract Factory Design Pattern ?|
|What is MVC ?|
|If you are given a choice to implement the code to either Insert a Record or Update if already exist, Which approach will you follow ?|
|In which cases , moving methods to utility class could be useful ?|
|What are the disadvantages of Design Patterns ?|
|What Design pattern Wrapper Classes implement ?|