Capgemini interview question

get() vs load()

Interview Answer

Anonymous

26 Jun 2020

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