Which of the following is mandatory while creating a class
-
Pattern Inheritance
-
Direct Inheritance
-
Both
-
None of the above
B
Correct answer
Explanation
When creating a class in Pega, Direct Inheritance is mandatory - every class must have a parent class specified through direct inheritance. Pattern Inheritance is optional and provides an additional inheritance mechanism based on naming patterns. A class cannot exist without specifying its direct parent.