Dennis works as a Programmer in Broadnet Inc. He writes the following program.1. public class Ques0307{2. public static void main(String[] argv){3. int arr[] = {1, 2, 3, 4};4. try{5. int k = 0;6. for(; k < 4; k++)7. arr[k] = arr[k] + 1;8. System.out.println("try");9. }10. catch(ArrayIndexOutOfBoundsException a){11. System.out.println("index " +k +" not found");12. }13. catch(Exception e){14. System.out.println("catch1");15. }16. finally{17. System.out.println("finally");18. }19. }20. }What will happen when Dennis attempts to compile and execute the program?
In which of the following cases is the GET method used to retrieve information?Each correct answer represents a complete solution. Choose all that apply.
The following JSP scriptlet is given.<% response.setContentType("text/html; charset=ISO-8859-1"); %>Which of the following directives is the equivalent directive for the scriptlet given above?
You write the following code.class Father {public void Method() {System.out.println("I am Father");}} public class Son extends Father {public static void main(String argv[]) {Son son = new Son();son.Method();} private void Method() {System.out.println("I am Son");}}Which of the following will be the result, when you try to compile and run the code?
Which of the following methods returns a Cipher object that implements the specified transformation?
You work as a Software Developer for NewTech Inc. You want to configure the deployment descriptor so as to specify the error pages used in the FORM based authentication. Which of the following elements will you use to accomplish the task?