GSSP-Java GIAC Secure Software Programmer-Java

Loading demo links...

Showing 13–15 of 15 questions

Question 13 (Volume C)

Which of the following deployment descriptor elements is used to declare the reference of a client's application to an external resource?

Select an option, then click Submit answer.

  • Option A

  • Option B

  • Option C

  • Option D

Question 14 (Volume A)

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"?

Select an option, then click Submit answer.

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

  • Engine e = c. new Engine();

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

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

Question 15 (Volume A)

Which of the following statements is true?

Select an option, then click Submit answer.

  • All UTF characters are eight bits long.

  • All UTF characters are all sixteen bits long.

  • All UTF characters are twenty four bits long.

  • All bytecode characters are sixteen bits long.

  • All unicode characters are sixteen bits long.