Which of the following is mandatory while creating a class
Pattern Inheritance
Direct Inheritance
Both
None of the above