Question: what are the rules of inheritance in java?
Answer: RULE 1: Multiple Inheritance is NOT permitted in Java. RULE 2: Cyclic Inheritance is NOT permitted in Java. RULE 3: Private members do NOT get inherited. RULE 4: Constructors cannot be Inherited in Java. RULE 5: In Java, we assign parent reference to child objects.