GIAC Secure Software Programmer-Java

Here you have the best GIAC GSSP-Java practice exam questions

  • You have 225 total questions to study from
  • Each page has 5 questions, making a total of 45 pages
  • You can navigate through the pages using the buttons at the bottom
  • This questions were last updated on October 12, 2025
  • This site is not affiliated with or endorsed by GIAC.
Question 1 of 225
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.
    Correct Answer: C, D

Question 2 of 225
Which directory in JAR files is used to store package and extension configuration data?
    Correct Answer: A

Question 3 of 225
Mark works as a Programmer for InfoTech Inc. He creates a program that uses the following code.
1. class Book
2. {
3. Short f1= 15;
4. Book GetDetails(Book b1)
5. {
6. b1=null;
7. return b1;
8. }
9. public static void main(String args[])
10. {
11. Book b1 = new Book();
12. Book b2 = new Book();
13. Book b3 = b1.GetDetails(b2);
14. b1=null;
15. //code
16. }
17. }
How many objects will be eligible for garbage collection when line 15 is reached?
    Correct Answer: C

Question 4 of 225
Which of the following are valid thread state transitions?
Each correct answer represents a complete solution. Choose all that apply.
    Correct Answer: A, C, D, E

Question 5 of 225
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"?
    Correct Answer: A