Capgemini interview question

get() vs load()

Interview Answer

Anonymous

26 June 2020

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