Question
When will you Use the Factory Method Pattern?

Answers



More Java Questions..
Can variables be used in Java without initialization?

What is the difference between java bean and enterprise java bean?

How does the java database connectivity (jdbc) work?

What are the advantages of threads in java?

What Is Java Api For Xml-based Rpc (jax-rpc)?

What is static synchronized method in JDBC API? Give an example?

Should we override finalize method

What is object cloning in Java?

What is difference between notify() and notfiyAll()

Describe java's security model.

Is there is any error if you have multiple main methods in the same class?

What is the name of the method used to schedule a thread for execution?

1) init();

2) start();

3) run();

4) resume();

5) sleep();

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

What releases of Java technology are currently available? What do they contain?

What is asymmetric clustering in WebSphere?

What is pass by value and pass by reference?

What are the actions that can occur when a thread enters blocked state

How do I launch the browser using WebDriver

What is the use of Void(0)?

How does the native language C or C++ understand data types in JAVA



Search
Can you Answer!!
  • Q Mention what is new for end users in SharePoint 2013?
  • Q How many number of SBI branches are present in India?
  • Q How many types of parameters are available in quicktest professional (qtp)?
  • Q what is the use purge why we are using
  • Q How can you use abstract class and interface?
  • Q How does it work under-the-hood, when we create an instance of a class without using 'new' keyword in scala? when do we go for this approach? how to declare private constructors in scala?
  • Q How to associate functions with objects using JavaScript?
  • Q Ballon d'Or Award is given to the best player.
  • Q Why did Mahmud of Ghazni attack India?
  • Q What do you use to label an antigen in radio immuno assay?
  • Q How can I call a function with an argument list built up at run time?