GIAC
GSSP-NET · Question #352
GSSP-NET Question #352: Real Exam Question with Answer & Explanation
Sign in or unlock GSSP-NET to reveal the answer and full explanation for question #352. The question stem and answer options stay visible for context.
Question
Allen works as a Software Developer for ABC Inc. The company uses Visual Studio.NET as its application development platform. He creates an application using the .NET Framework.. He writes the following code segment in the application: 01 class gClass 02 { GIAC GSSP-.NET Exam 03 public gClass(int k) 04 { 05 //Write code here 06 } 07 } 08 public class gSub : gClass 09 { 10 public static void Main(String[] argv) 11 { 12 gSub gs=new gSub(20); 13 } 14 gSub(int j):base(j) 15 { 16 //Write Code here 17 } 18 gSub(string st, int j):this(j) 19 { 20 gClass ss=new gClass(); 21 } 22 } When you execute the above code segment, you get an error at line 20. Which of the following code segments will he place at line 20 to execute the code successfully? Each correct answer represents a complete solution. Choose all that apply.
Options
- AgClass ss=new gClass(j);
- Bbase();
- CgClass ss=new gClass(200);
- DgSub gg=new gSub();
Unlock GSSP-NET to see the answer
You've previewed enough free GSSP-NET questions. Unlock GSSP-NET for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.