what is the use of Object Factories?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you give me a simple example of using the requiredif validator rule?

899


Is jvm a overhead?

851


Explain ioc concept?

891


How substring() method of string class create memory leaks?

812


Which containers use a border layout as their default layout?

893


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.

2020


What is the difference between java class and bean?

850


What value does readline() return when it has reached the end of a file?

880


What is a class loader?

1085


What is the purpose of the wait(), notify(), and notifyall() methods?

824


Is there a guarantee of uniqueness for entity beans?

796


hi friends, i have done my BE(CSE)at 2011 then i have joined one company before they asked me 50k so i paid but now they telling no project here so we r going to close like that so now i need any job i have good knowledge in core java and j2ee(jsp,servlet,jdbc) so if u know any job pl help me

2024


int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!

1623


What is the difference between the session.get() method and the session.load() method?

854


Define prototype?

845