Home Answers Viewqa Java-Beginners factory methods in java?

 
 


tirumala saireddy
factory methods in java?
1 Answer(s)      2 years and 4 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.

Thanks









Related Pages:

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.