Want to pass your GIAC Secure Software Programmer - Java GSSP-JAVA exam in the very first attempt? Try Pass2lead! It is equally effective for both starters and IT professionals.
VCE
Which of the following elements are the subelements of the mime-mapping element in a deployment
descriptor file?
Each correct answer represents a complete solution. Choose all that apply.
A. exception-type
B. error-code
C. extension
D. mime-type
E. servlet-class
Mark works as a Programmer for InfoTech Inc. He develops the following code snippet.
1.
public class Header
2.
{
3.
//code//
4.
{
5.
System.out.println("Print the code.");
6.
super.finalize();
7.
}
8.
}
Which of the following header statements should be placed at line 3 to execute the program successfully?
A. void finalize() throws Exception
B. private void finalize() throws Exception
C. protected void finalize() throws Throwable
D. void finalize() throws Throwable
Which of the following statements about a native modifier in Java are true? Each correct answer represents a complete solution. Choose two.
A. It can be applied to methods and variables.
B. A method with a native modifier must end with a semicolon.
C. It can be applied only to methods.
D. It can be applied only to variables.
E. A separate Java class must be written to provide implementation for a native method.