in Education by
What is Factory pattern?

1 Answer

0 votes
by
What is Factory pattern? Factory pattern is one of most used design pattern in Java. This type of design pattern comes under creational pattern as this pattern provides one of the best ways to create an object. In Factory pattern, we create object without exposing the creation logic to the client and refer to newly created object using a common interface.

Related questions

0 votes
    In ASP.NET Core, one of the things you can do with Microsoft's dependency injection framework is bind ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jul 8, 2022 in Education by JackTerrance
0 votes
    What is the benefit of Factory pattern?...
asked Nov 7, 2020 in Education by Editorial Staff
0 votes
    What is Abstract Factory pattern?...
asked Nov 7, 2020 in Education by Editorial Staff
0 votes
    i have an Angular Factory that gets a single date from the backend of my spring application, and i ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 7, 2022 in Education by JackTerrance
0 votes
    I've a lookup activity with gets value from a container within a blob. I have a foreach activity which is ... : data.speed> 500 Select the correct answer from above options...
asked Feb 4, 2022 in Education by JackTerrance
0 votes
    I have a HDInsight Hadoop cluster (Linux, deployed separately) on Azure VNet (restricting client IPs using NSG). ... Data Factory? Select the correct answer from above options...
asked Feb 2, 2022 in Education by JackTerrance
0 votes
    A factory has two machines A and B. Past record shows that machine A produced 60% of the items of output and ... produced by machine B? Select the correct answer from above options...
asked Nov 25, 2021 in Education by JackTerrance
0 votes
    The probability that a bulb produced by a factory will fuse after 150 days of use is 0.05. Find the probability ... 150 days of use Select the correct answer from above options...
asked Nov 25, 2021 in Education by JackTerrance
0 votes
    In a bulb factory, three machines, A, B, C, manufacture 60%, 25% and 15% of the total production respectively ... by machine C. Select the correct answer from above options...
asked Nov 22, 2021 in Education by JackTerrance
0 votes
    A factory produces bulbs. The probability that any one bulb is defective is 1/50 and they are packed in boxes ... 8 bulbs work properly Select the correct answer from above options...
asked Nov 20, 2021 in Education by JackTerrance
0 votes
    In a bulb factory, three machines, A, B, C, manufacture 60%, 25% and 15% of the total production respectively ... by machine C. Select the correct answer from above options...
asked Nov 17, 2021 in Education by JackTerrance
0 votes
    A car manufacturing factory has two plants X and Y. Plant X manufactures 70% of the cars, and plant Y manufactures ... from plant X. Select the correct answer from above options...
asked Nov 16, 2021 in Education by JackTerrance
0 votes
    In a bulb factory, machines A, B and C manufactures 60%, 30% and 10% bulbs respectively. Out of these bulbs ... produced by machine A. Select the correct answer from above options...
asked Nov 16, 2021 in Education by JackTerrance
0 votes
0 votes
    A factory has two machines A and B. Past record shows that machine A produced 60% of the items of output and ... produced by machine B? Select the correct answer from above options...
asked Nov 13, 2021 in Education by JackTerrance
...