class B
{
}
class C: B
{
}
class Program
{
static void Main(string[] args)
{
C objc1 = new C();
}
}
Q: How many objects gets created in the above program.
Give a brief explanation..
Guys I know the answer, if you know the answer , just clearly write your answer in the reply, but dont post any links in the answers, its just for testing your skills.


Sujeet SumanRank #790 · 2.9K reputationPosted Sep 16, 2015, 1:01 AM EDT
Francis SusaimichaelRank #466 · 5.4K reputationPosted Sep 16, 2015, 1:33 AM EDT
Sujeet SumanRank #790 · 2.9K reputationPosted Sep 16, 2015, 1:52 AM EDT
Srinivas PabballaRank #5,010 · 315 reputationPosted Sep 21, 2015, 2:16 AM EDT
Manas MohapatraRank #182 · 13.2K reputationPosted Sep 21, 2015, 2:36 AM EDT