Capgemini Interview Question

get() vs load()

Interview Answer

Anonymous

Jun 26, 2020

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