Interview Questions and Answers for 'Amtrust financial' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com
Share

Search Interview Questions


 3358 questions in repository.
 There are more than 200 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Amtrust financial


   




Interview Questions and Answers for 'Amtrust financial' - 2 question(s) found - Order By Newest

Very Frequently asked to fresh graduates and less experienced. Favorite question in Walk in drives. Frequently asked in Indian Services companies.
  Q1. Difference between Overloading and Overriding ?Core Java
Anonymous
Ans. Overloading - Similar Signature but different definition , like function overloading.

Overriding - Overriding the Definition of base class in the derived class.

  Sample Code for overloading

  Sample Code for overriding

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   oops   overloading   overriding   oops concepts   basic interview question     Asked in 82 Companies      basic        frequent

Try 1 Question(s) Test


Related Questions

  What are the difference between composition and inheritance in Java?
  What is the difference between Encapsulation and Abstraction?
  What are points to consider in terms of access modifier when we are overriding any method?
 Explain OOPs

or

Explain OOPs Principles

or

Explain OOPs Concepts

or

Explain OOPs features

or

Tell me something about OOPs
 What is Polymorphism in Java ?
  Why every object constructor automatically call super() in Object before its own constructors?
 Can you give a real world example of Encapsulation and Abstraction ?
  Difference between Composition and Inheritance ?
  How compiler handles the exceptions in overriding ?


Almost sure to be asked in every company using any Dependency Injection framework ( Spring, Guice etc )
  Q2. What is Dependency Injection or IOC ( Inversion of Control ) ?Design

Ans. It is a Design Pattern that facilitates loose coupling by sending the dependency information ( object references of dependent object ) while building the state of the object. Objects are designed in a manner where they receive instances of the objects from other pieces of code, instead of constructing them internally and hence provide better flexibility.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     design patterns   ioc ( Inversion of Control )  dependency injection     Asked in 80 Companies      intermediate        frequent


Related Questions

  Name few Dependency Injection frameworks ?
 What are the benefits of Dependency Injection or IOC ?
 What are different types of dependency injections ?
  What are the various Auto Wiring types in Spring ?
  What is the difference betweeen @Inject and @Autowired ?
 Which of the following Java features facilitates Dependency Injection - Inheritance or Composition ?
 What are the different ways in which dependency injection can be done using Spring Framework ?
 Difference between constructor and setter injection ?
 Which of the OOP's features facilitate dependency injection ?




Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner



comments powered by Disqus
 

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked:
         

X Close this