Question: Which of the following statements are correct about the C#.NET code snippet given below?

Options

A : i cannot be initialized in proc1() .

B : proc1() can initialize i as well as j .

C : j can be initialized in proc2() .

D : The constructor can never be declared as static .

Click to view Correct Answer

Previous || Next

Constructors - General Questions more questions

In which of the following should the methods of a....

Can static procedures access instance data?

Which of the following statements are correct about constructors in....

How many times can a constructor be called during lifetime....

Is it possible to invoke Garbage Collector explicitly?

Which of the following statements is correct?

Is it possible for you to prevent an object from....

Which of the following statements are correct about static functions?

What will be the output of the C#.NET code snippet....

Which of the following statements is correct about constructors in....

Attributes - General Questions more Online Exam Quiz

Attributes - General Questions

Classes and Objects - General Questions

Collection Classes - General Questions

Datatypes - General Questions

Delegates - General Questions

.NET Framework - General Questions

Enumerations - General Questions

Exception Handling - General Questions