Q2. Find the output: (6 points) 1) What will be the output of the following program? (1 point) Public class College Public static void main Student]/ student = new Student[2]; student [0]= new Student(); student[0] name = "Klan"; student[0]. name = "Klan"; student[0].name = "Katty"; student [1]= new Student (; student [1]. name = "Manna"; for (int i=0;i<2;i++) i System.out.print(student[i].name + ); 1 1 class Student | String name; a) Klan Manna - b) Katty Katty c) Katty Manna - d) Compilation Error or Runtime Error 2) What will be the output of the following program? (1 point) public class College I public static void main(String[] args) I Student[] student = new Student[1]: student [0]= new Student ( ); student[0].name = "Klan": student[0].marks =92; student [0]. section = ' A ' for (int i=0;i<1;i++ ) System.out.print(student[i] name +7); System.out.print(student[i]. marks +"" ); System.out.print(student[i].section); 3) What will be the output of the following program? (I poin) LinkedList mylist " new LinkedList(): mylist.AddHead(3); mylist.AddTail(1); mylist.AddTail(5); mylist.DeleteHead(); mylist.AddHead(4); mylist.DeleteTail(); mylist.AddHead(9); mylist.AddTail(2); mylist.DeleteHead(); mylist.AddTail(6); mylist.Delete Tail(); mylist.AddHead(7); mylist.Print(); a) 9412 b) 7416 c) 7412 d) 3412 4) What will be the output of the following. hay coles) (3 purints) class Employred int empld; String name; Public void setData(intc, String d)\} empldac; name =; public void show Data0! System.out, print("Empld = "+empld + " * +* Finployce Name * *+natne)s System.out.println(); 1 1 class Main| public static void main(String args[l) / /create array of employee object. Employee[ obj = new Employee[3] : //create actual employee object obj[0]=newEmployee(obj[1]=newEmployee(0obj[2]=newEmployee( //assign data to employee objects obj [0]. setData( (01, Sami ); obj 1] setData( 22, Donatid ) obj[2] setData( (03, Larry );.