New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

GIAC Secure Software Programmer – Java GSSP-Java Question # 26 Topic 3 Discussion

GIAC Secure Software Programmer – Java GSSP-Java Question # 26 Topic 3 Discussion

GSSP-Java Exam Topic 3 Question 26 Discussion:
Question #: 26
Topic #: 3

Mary works as a Software Developer for XYZ Inc. She writes the following code.

1. class Alpha {

2. public static class Beta { }

3. }

4. class Delta {

5. // insert code here

6. }

Which of the following code statements can be inserted at line 5 to create an instance of the Beta class defined in the class Alpha?


A.

Beta b = new Beta();


B.

Alpha a = new Alpha();


C.

Beta = new a.Beta();


D.

The class Beta cannot be instantiated at line 5.


E.

Alpha.Beta b = new Alpha.Beta();


Get Premium GSSP-Java Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.