Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

What is the design pattern used in the implementation of Enumeration in Java?

Pragya Keshap answered on February 4, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • What is an EnumSet in Java?
  • Java design patterns
  • Java design patterns
  • Java design patterns
  • Java design patterns
  • Java design patterns
  • When to use the Composite design pattern in Java? Have you used it previously in your project?
  • What are the advantages of Java Design Patterns?
  • What are the types of design patterns in Java?
  • What are some of the design patterns used in Java’s JDK library?
  • A Java program to demonstrate implementation of iterator pattern with the example of notifications
  • How Strategy design pattern is different from State design pattern in Java?
  • 18. What is the Command design pattern and how is it used in Java?
  • 20. What is the Iterator design pattern and how is it used in Java? When did you use it? What are its pros and cons?
  • Java Decorator design pattern example of implementation
  • java decorator design pattern

  • What is the design pattern used in the implementation of Enumeration in Java?

    0

    Enumeration is based on Iterator design pattern. Iterator design

    pattern provides a common interface with methods to traverse the

    collection of objects. It hides the underlying implementation details

    of the collection

    https://www.geeksforgeeks.org/how-to-implement-a-strategy-pattern-using-enum-in-java/

    Popularity 1/10 Helpfulness 1/10 Language java
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 04 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.