adplus-dvertising
frame-decoration

Question

A factory object is used ______________________

a.

To create new classes

b.

To create new function

c.

To create new data members

d.

To create new objects

Answer: (d).To create new objects

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. A factory object is used ______________________

Similar Questions

Discover Related MCQs

Q. What are singleton objects?

Q. Object cout and cin _________________

Q. Objects type ____________________

Q. An object can be used to represent _________________

Q. Objects can be used _____________________

Q. Which among the following is not a use of object?

Q. Which object can be used to access the standard input?

Q. A single object can be used __________________

Q. If same object name is given to different objects of different class then _____________

Q. Which among the following best describes abstract classes?

Q. Can abstract class have main() function defined inside it?

Q. If there is an abstract method in a class then, ________________

Q. If a class is extending/inheriting another abstract class having abstract method, then _______________________

Q. Abstract class A has 4 virtual functions. Abstract class B defines only 2 of those member functions as it extends class A. Class C extends class B and implements the other two member functions of class A. Choose the correct option below.

Q. Abstract classes can ____________________ instances.

Q. We ___________________ to an abstract class.

Q. Which among the following is an important use of abstract classes?

Q. Use of pointers or reference to an abstract class gives rise to which among the following feature?

Q. The abstract classes in java can _________________

Q. Abstract class can’t be final in java.