1.

In Scala, Pattern Matching Follows Which Design Pattern? In Java, ‘isinstanceof’ Operator Follows Which Design Pattern?

Answer»

In SCALA, Pattern Matching follows VISITOR DESIGN Pattern. In the same way, JAVA’s ‘isinstanceof’ OPERATOR also follows Visitor Design Pattern.

In Scala, Pattern Matching follows Visitor Design Pattern. In the same way, Java’s ‘isinstanceof’ operator also follows Visitor Design Pattern.



Discussion

No Comment Found