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

Search Interview Questions


 3292 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

   



Globallogic


   




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

Very Frequently asked. Have been asked in HCL Technologies very frequently ( based on 3 feedback ). Among first few questions in many interviews.
  Q1. Differences between abstract class and interface ?Core Java
Admin
info@buggybread.com
Ans. Abstract classes can have both abstract methods ( method declarations ) as well as concrete methods ( inherited to the derived classes ) whereas Interfaces can only have abstract methods ( method declarations ).

A class can extend single abstract class whereas it can implement multiple interfaces.

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


   Like         Discuss         Correct / Improve     java   classes   abstract class   interfaces     Asked in 65 Companies      basic        frequent


Related Questions

 What are the different uses of Interfaces in Java ?
 Why can't we have diamond problem with interfaces ?
  What is the difference between List, Set and Map ?

or

What are the different Java Collections Interfaces ?
  What are Marker Interfaces ? Name few Java marker interfaces ?
  Why do we need Thread class even in case we execute thread using runnable interface ?
  Which of the following doesn't extend Collection interface ?
 If an Abstract class has only abstract methods, What's the difference between such a class and an interface ?
  What is an API ( Application Programming Interface ) ?
  Can we declare interface methods as private ?


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