Which of the following exceptions will a compiler throw when a number is divided by zero?
You have written the following code snippet.
1. public class Read {
2. protected int ReadText(int x) { return 0; }
3. }
4. class Text extends Read {
5. /*insert code here*/
6. }
Which of the following methods, inserted independently at line 5, will compile?
Each correct answer represents a complete solution. Choose all that apply.
Which of the following statements is true about the Java synchronized keyword?
Identify whether the given statement is true or false.
"A try statement can be placed inside the code block that follows another try statement."
In which of the following locations the helper classes of a session bean class reside?
You work as a developer for PassGuide Inc. You have implemented a session bean with a method doPrint(), which behaves differently depending on the caller's security role. Only MANAGER in the security roles "ADMIN" and "MANAGER" are allowed to call the method. Which of the following actions are appropriate to accomplish if there is no security-related metadata in the deployment descriptor?
Each correct answer represents a complete solution. Choose all that apply.
Which of the following exceptions will be thrown by the getFeature() method if the feature value cannot be assigned or retrieved?
Which of the following is a mandatory sub-element of the <web-resource-collection> element of the deployment descriptor?
Which of the following methods belongs to the Refreshable interface?
The ______________ method of the EJBContext interface tests whether the client is a member of the role specified in the argument to the method.
PDF + Testing Engine
|
---|
$66 |
Testing Engine
|
---|
$50 |
PDF (Q&A)
|
---|
$42 |
GIAC Free Exams |
---|
![]() |