DRAG DROP -Drag and drop the appropriate authentication types from the given options to match their properties.
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?
Sam works as a Software Developer for Gentech Inc. He writes the following code.1. class TryFinallyTest {2. public static void main(String[] args) {3. try {4. int i=15/0;5. System.out.println("Testing Try");6. }7. catch(ArithmeticException ae) {8. System.out.println("Arithmetic exception");9. }10. System.out.println("Correct");11. finally {12. System.out.println("Must execute");13. }14. }15. }What will happen when he attempts to compile and execute the code?
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?
What will be the output of the following code snippet?class test22{public static void main(String args[]){String str= new String("Hello");str.insert(3,"bye");System.out.println(str);}}
Mark works as a Programmer for InfoTech Inc. He develops the following security-constraint code.<security-constraint><web-resource-collection><web-resource-name>Manager</web-resource-name><url-pattern>/acme/Manager/*</url-pattern><http-method>GET</http-method><http-method>POST</http-method></web-resource-collection>//<auth-constraint/> code</security-constraint><security-constraint><web-resource-collection><web-resource-name>Manager</web-resource-name><url-pattern>/acme/Manager/*</url-pattern><http-method>GET</http-method><http-method>POST</http-method></web-resource-collection>//<auth-constraint/> code</security-constraint>Which of the following <auth-constraint> element declarations of the <security-constraint> will allow everybody to access the same resources?