Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code = getmirror

Pass the GIAC Certification GSSP-Java Questions and answers with ExamsMirror

Practice at least 50% of the questions to maximize your chances of passing.
Exam GSSP-Java Premium Access

View all detail and faqs for the GSSP-Java exam


765 Students Passed

96% Average Score

90% Same Questions
Viewing page 2 out of 9 pages
Viewing questions 11-20 out of questions
Questions # 11:

Which of the following statements is true?

Options:

A.

All UTF characters are eight bits long.

B.

All UTF characters are all sixteen bits long.

C.

All UTF characters are twenty four bits long.

D.

All bytecode characters are sixteen bits long.

E.

All unicode characters are sixteen bits long.

Questions # 12:

Mark works as a Programmer for InfoTech Inc. He develops a Web application that takes input from users. Which of the following methods can be used by the client and server to validate the users input?

Each correct answer represents a complete solution. Choose all that apply.

Options:

A.

Validation through Servlets on the server side

B.

Validation using JavaScript on the client side

C.

Validation through Java Applets on the client side

D.

Validation through XML on the server side

Questions # 13:

Which of the following options are available with jar files?

Each correct answer represents a complete solution. Choose all that apply.

Options:

A.

M - Deletes an existing manifest file

B.

c - Creates a jar file

C.

o - Overrides an existing jar file

D.

0 - Stores a file without using zip compression

E.

m - Manipulates or updates an existing jar file

F.

u - Unzips a jar file

G.

M - Creates a manifest file

Questions # 14:

Mark writes a class Practice.java. This class needs to access the com.bar.Test class that is stored in the Test.jar file in the directory /practice. How would you compile your code?

Options:

A.

javac -classpath /practice/Test.jar Practice.java

B.

javac -classpath /practice/ Practice.java

C.

javac -classpath /practice/Test.jar/com/bar Practice.java

D.

javac -classpath /practice Practice.java

Questions # 15:

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?

Options:

A.

The sub-element of the element.

B.

The sub-element of the element.

C.

The sub-element of the element.

D.

The <form-login-config> sub-element of the element.

Questions # 16:

Which of the following authentication flag values will force authentication to continue to proceed down the LoginModule list, irrespective of whether the LoginModule succeeds or fails?

Each correct answer represents a complete solution. Choose all that apply.

Options:

A.

Optional

B.

Composite

C.

Requisite

D.

Required

Questions # 17:

You work as a Programmer for InfoTech Inc. You write the following code.

1. public class InnerDemo{

2. public static void main(String[] args) {

3. Car c = new Car();

4. // insert code here

5. e.test();

6. }

7. }

8. class Car{

9. class Engine{

10. void test() {System.out.println("test"); }

11. }

12. }

Which of the following options should you add to line 4 so that the code compiles and produces the output "test"?

Options:

A.

Car.Engine e = c.new Engine();

B.

Engine e = c. new Engine();

C.

c.Engine e = Car.new Engine();

D.

Car.Engine e = Car.new Engine();

Questions # 18:

Which of the following statements correctly describe the features of the singleton pattern?

Each correct answer represents a complete solution. Choose all that apply.

Options:

A.

Singletons are used to control object creation by limiting the number to one but allowing the flexibility to create more objects if the situation changes.

B.

Singletons can only be stateless, providing utility functions that need no more information than their parameters.

C.

A singleton class may disappear if no object holds a reference to the Singleton object, and it will be reloaded later when the singleton is needed again.

D.

The behavior of a singleton can be obtained by static fields and methods such as

java.lang.Math.sin(double).

Questions # 19:

Which of the following statements are true about object serialization?

Each correct answer represents a complete solution. Choose all that apply.

Options:

A.

After deserialization, objects have the same state as it had when it was serialized.

B.

It uses ObjectOutputStream to deserialize objects.

C.

It uses the ObjectInput and ObjectOutput interfaces.

D.

An object will have the same state at deserialization as it had at the time it was serialized if all its superclasses are also serializable.

Questions # 20:

Which of the following statements about the isCallerInRole() method are true?

Each correct answer represents a complete solution. Choose all that apply.

Options:

A.

It can be called from the PostConstruct and PreDestroy callback methods of a stateful session bean.

B.

It is present in the UserTransaction interface.

C.

It cannot be called from a message-driven bean.

D.

It can be invoked only from the business method of an enterprise bean.

Viewing page 2 out of 9 pages
Viewing questions 11-20 out of questions
TOP CODES

TOP CODES

Top selling exam codes in the certification world, popular, in demand and updated to help you pass on the first try.