Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners factory methods in java?

Have Programming Question? Ask it here!
 
 
 


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


what are factory methods in java?


Advertisement
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 Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com