Top "Objectinstantiation" questions

Simple hibernate query returning very slowly

I have the following hibernate query: Query query = session.createQuery("from MyHibernateClass"); List<MyHibernateClass> result = query.list();// executes …

java hibernate objectinstantiation
Best way to create instance of child object from parent object

I'm creating a child object from a parent object. So the scenario is that I have an object and a …

c# .net inheritance objectinstantiation
Instantiate objects without using new operator

In one of the java interview, the following question is asked: In java is there a way to instantiate an …

java xml new-operator objectinstantiation
How to instantiate a service dynamically?

I have a Utils Service which is very heavy. I Want to use some of the functions defined in it …

angularjs dependency-injection angular-services objectinstantiation
Instantiating List<T> with generic type possible?

A student that I am tutoring is taking a web development class that uses a Dietel book on Java, which …

java generics objectinstantiation