Mark works as a Programmer for InfoTech Inc. He develops the following deployment descriptor code.
<web-app>
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location> Error.jsp </location>
</error-page>
<error-page>
<exception-type> javax.security.auth.RefreshFailedException</exception-type>
<location> RefreshFailed.jsp </location>
</error-page>
</web-app>
Which of the following statements is true about the deployment descriptor code given above?
Which of the following init() method calls initializes a cipher object with a key in the SECRET_MODE?
Which of the following elements contains the
Which of the following statements about exceptions in message-driven beans are true?
Each correct answer represents a complete solution. Choose two.
Which of the following permission classes is an abstract class ancestor of all permissions and defines the essential functionalities required for all permissions?
Which of the following pieces of codes will be placed at the line XXX to successfully compile the given class?
public interface Publication
{
String GetDetails();
}
public class Book implements Publication
{
//line XXX
}
Which of the following is a Permission class whose permissions have no actions, and allows suppressing the standard Java programming language access checks?
Which of the following statements about ServletContext attributes is true?
You have the following code of a PreparedStatement.
PreparedStatement stm = con.prepareStatement("UPDATE EMPLOYEES SET SALARY = ? WHERE ID = ?");
Which of the following statements are true about a PreparedStatement?
Each correct answer represents a complete solution. Choose all that apply.
Which of the following circumstances can prevent the execution of code in a finally block?
Each correct answer represents a complete solution. Choose two.
PDF + Testing Engine
|
---|
$66 |
Testing Engine
|
---|
$50 |
PDF (Q&A)
|
---|
$42 |
GIAC Free Exams |
---|
![]() |