5
Answers

Object

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.
 
 
 
Answers (5)