Question d'entretien d'embauche HCL Technologies: -Can a class be final? - Diff... |

Question d'entretien d'embauche

Entretien de Java Developer San Francisco, CA (États-Unis)

-Can a class be final? - Difference between Application

  context and bean factory?

Réponse de l'entretien

3 réponses


Class can be final (if you dont want a class to be extended, make it final).

bean factory is the core of spring container. no body uses it nowadays- lol.

Application context is an extension to the bean factory. you can do pretty much everything with it. he he

Utilisateur anonyme, le 3 oct. 2016

Yes class can be final

1.Both beanfactory and application context gets bean by calling getBean() method

2.Bean factory object will be created on first user request known as lazy container. In application context object will be created on the time of loading application context.XML file
Known as early container

3.Bean factory doesn't support internationalization but application context supports.

Utilisateur anonyme, le 7 juin 2018

Wondering if anyone tried using Rooftop Slushie? Seems like you can ask questions and get answers from HCL Technologies employees.

Utilisateur anonyme, le 11 juil. 2019

Ajouter des réponses ou des commentaires

Pour commenter ceci, se connecter ou s'inscrire