Frage im Vorstellungsgespräch bei Capgemini

get() vs load()

Antwort im Vorstellungsgespräch

Anonym

26. Juni 2020

get returns the actual object otherwise null whereas load uses lazy initialization and returns proxy object otherwise ObjectNotFoundException