You have a file University.java and you have a driver class…

You have a file University.java and you have a driver class named Driver.java. Fill in the correct visibility modifiers so that the comments in the main method are upheld. public class Driver {    public static void main(String[] args) {     University t = new University(); // each of the lines below is run independently     System.out.println(t.numBuildings);    // compiles and runs     System.out.println(t.getAverageGpa()); // compiles and runs     System.out.println(t.averageGpa); // compile error    }} —— in a separate file in a different package/directory ——— public class University {   1 int numBuildings;   2 double averageGpa;   3 double getAverageGpa() {       return averageGpa;    }   /** no-argument constructor implemented **/}   1  :[vis1]   2  :[vis2]   3  :[vis3]

Given the code below, what is printed?  public class Operati…

Given the code below, what is printed?  public class Operations {   public static void main(String[] args) {        int a = 6;        int b = method1(a);        System.out.print(a + “,”);        System.out.print(b);     }    public static int method1(int b) {        int c = b * 2;        b = b + 4;        return c;    } }