what is the use of Object Factories?



what is the use of Object Factories?..

Answer / guest

Factory methods that will be used to create objects just
like in a static way.

eg:Class.forName("driver class");
forName is a static methiod.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

what is diff between Access modifier and specifier?

5 Answers   L&T,


Can I import same package/class twice? Will the jvm load the package twice at runtime?

0 Answers  


Name three subclasses of the component class?

0 Answers  


Why RMI required an interface?

1 Answers  


Whats new with the stop(), suspend() and resume() methods in jdk 1.2?

0 Answers  






String is immutable.it is true String can be change to mutable How?

6 Answers   IBM, Professional Access, TCS,


whether the connectionpooling used in struts?

2 Answers   SolutionNET,


Is it possible to stop the execution of a method before completion in a sessionbean?

0 Answers  


What are the diff types of exception?

0 Answers  


how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.

0 Answers  


Tell me about Firewalls in RMI?

0 Answers  


What are the various thread priorities?

1 Answers  


Categories