public class School {   public School() { System.out.print…

public class School {   public School() { System.out.println(“SCHOOL”); }}public class University extends School {   public University() { System.out.println(“UNI”); }}public class GT extends University {   public GT() { super(); System.out.println(“JACKETS”); }} Given the class definitions above, what is printed to the console when the following lines of code are executed? Assume the code compiles and runs (i.e. ignore typos). University u = new University();GT g = new GT();