1.

Which of the following methods returns proxy object?(a) loadDatabase()(b) getDatabase()(c) load()(d) get()I got this question in an internship interview.I'd like to ask this question from Hibernate in section Autoboxing & Miscellaneous of Java

Answer» RIGHT choice is (C) LOAD()

EASIEST explanation: load() method returns proxy OBJECT. load() method should be used if it is sure that instance exists.


Discussion

No Comment Found

Related InterviewSolutions