query: What is factory method in java?
positive_passages.docid: 25436
positive_passages.text: Factory Pattern. When to use factory methods?
negative_passages.docid: 21112
negative_passages.text: Is it possible to create variables at runtime in Java?
negative_passages.docid: 6333
negative_passages.text: What is the purpose of the expression "new String(...)" in Java?
negative_passages.docid: 132398
negative_passages.text: What is null in Java?
negative_passages.docid: 125567
negative_passages.text: What is Object Mocking and when do I need it?
negative_passages.docid: 131308
negative_passages.text: Use cases for Object.create(null)
negative_passages.docid: 116236
negative_passages.text: How to inject Spring Bean for factory method requiring MyClass.class parameter
negative_passages.docid: 85865
negative_passages.text: Optional Methods in Java Interface
negative_passages.docid: 79542
negative_passages.text: Java: How to find if a method is overridden from base class?
negative_passages.docid: 134903
negative_passages.text: How does Java's serialization work and when it should be used instead of some other persistence technique?
negative_passages.docid: 47870
negative_passages.text: Question About Static Methods
negative_passages.docid: 60420
negative_passages.text: Can constructors throw exceptions in Java?
negative_passages.docid: 2691
negative_passages.text: How to return multiple objects from a Java method?
negative_passages.docid: 120539
negative_passages.text: Setter methods or constructors
negative_passages.docid: 133544
negative_passages.text: Is there a way to instantiate a class by name in Java?
negative_passages.docid: 47352
negative_passages.text: Dependency Injection vs Factory Pattern
negative_passages.docid: 155637
negative_passages.text: Create object instance without invoking constructor?