tirumala saireddy
factory methods in java?
1 Answer(s)      6 years and 2 months ago
Posted in : Java Beginners

what are factory methods in java?


View Answers

January 10, 2011 at 11:25 AM

Hi Friend,

Factory methods are static methods that return an instance of the native class like Pattern.compile(), Calendar.getInstance(),ClassLoader.findClass(String name) etc.