Assume you’re implementing the following Dog class and you d…

Assume you’re implementing the following Dog class and you don’t want the Bark method to be overridden by subclasses. Fill in the blank to make sure the method cannot be overridden. public class Dog {     private int age;     private double weight;     public void Bark() {         System.out.println(“Woof Woof”);     }}

Please explain what “Referential Integrity” means in the con…

Please explain what “Referential Integrity” means in the context of relational databases. Also include one clear example such as when inserting, updating, or deleting data and then illustrates how referential integrity works and what could happen if it is not enforced.