C-Sharp: Test 9 - Online Test

Test Difficulty Level: Medium

Syllabus of Test

Compuer programming: Questions based on the basics of C-Sharp.

Sample Question from this online test:

Question: Assuming that -
public class B : A
{
public B(int i) :base(i) { }
}

compiles and runs correctly, what can we conclude about the constructors in the class A?

Option A: One constructor takes an argument of type i

Option B: There is only a default constructor

Option C: One constructor takes an arguments of the type int

Option D: NONE

To answer, click the "Start This Test" button below.

Start this Test






Comments

Ramesh Chandora on 2011-07-05 15:17:13 wrote,

All the Questions in this test are taken form various or I say 2 websites(www.wiziq.com and www.quiznetonline.com). Question are not different.At least you should change the options or language(sentences).