Showing posts with label on-site. Show all posts
Showing posts with label on-site. Show all posts

Tuesday, 13 December 2016

TCS interview

Date: 13 December 2016
Telephonic

Questions:
General overview.
  1. Why do we use parent attribute when declaring beans?
    1. What could be the disadvantage of using parent?
  2. Have you ever used a prototype bean in Hybris?
  3. How to override an attribute?
    1. Is that even possible?
  4. General architecture of Hybris.
    1. Architecture according to J2EE.
  5. How to publish a web-service in Hybris?
    1. Which extensions are used to publish a webservice in Hybris?
  6. Which one is preferable: Collection or relation? Why?
  7. Which extensions are used for connecting with cybersource?
    1. Whole process of connecting with cybersource.
    2. Have you connected using CI?
  8. What functionalities does Hybris get from Spring?
  9. How to use SOP-HOP instead of SOAP?
  10. What is Hybris planning to do with Promotions in v6.0?
  11. Define OCC.
    1. Is OCC required for connecting to storefront?
  12. How does decorator work?
    1. On which layer does it exist?
    2. What if I modelService.save() something on a decorator?
    3. What is resolver?
  13. More about integration.

Monday, 17 November 2014

Hong Kong and Singapore Based Firm

Telephonic for a Singapore based firm with clients in Hong Kong.

Spring:

  1. What is AOP?
  2. What is DI?
  3. What is IOC?
  4. How many types of IOC?
  5. How to inject bean using constructor?
  6. How to inject bean using setter?
  7. How many types of beans?
  8. Life cycle of beans?
  9. Example of singleton bean?
  10. Is it thread safe?
  11. When does singleton get instantiated?
  12. When does prototype get instantiated?
Java:
  1. What is dynamic polymorphism?
  2. What is interface?
  3. Why use interface when we have abstract class?
  4. How to restrict a method from being overridden?
  5. Can private methods be overridden? 
  6. Can static methods be overridden?
  7. Can non-static content be referenced from a static method?
  8. What if system.exit() is called in a try block?
  9. StringBuilder vs StringBuffer?
  10. What is volatile keyword?