View Count: 0
Duration: 50 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 40 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 25 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 25 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 35 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 55 mins
Accessed date:
Not Yet Viewed
Post your comment / feedback here
 
 

Be the first one to comment about this video

Question No: 1 of 40
class CA
{
   //.......
}
class Program
{
   public static void Main()
   {
      CA a;
      //....
   }
}
Which of the following is correct 
Options:
  1. a is null by default
  2. a refers to an object of CA
  3. a is an Object
  4. a is Uninitialized
View Answer/Explanation:
d
Explanation:

Question No: 2 of 40
Which of the following are true about the instance method of the class 
Options:
  1. Can be invoked using either class name or reference to an object
  2. Can be invoked only using reference to an object
  3. In methods using this to access other members of the class is optional.
  4. Can't be overloaded
  5. Can be overloaded
View Answer/Explanation:
b c e
Explanation:

Question No: 3 of 40
class CA
{
   public void Foo()
   { 
	Console.WriteLine("In foo");
   }
   public static void Main()
   {
      CA a = null;
      a.Foo();
   }
}
What is the o/p of this program 
Options:
  1. In foo
  2. Compilation Error
  3. Runtime Exception
  4. Nothing is printed.
View Answer/Explanation:
c
Explanation:

Question No: 4 of 40
What is the Output of this program?

class CA
{
    public void CA()
    {
        Console.WriteLine("Hello World");
    }
}
class Program
{
    static void Main(string[] args)
    {
        CA a = new CA();
    }
} 
Options:
  1. Hello World
  2. Compilation Error
  3. Runtime Error
  4. Nothing
View Answer/Explanation:
a
Explanation:

Question No: 5 of 40
When is the object ready for garbage collection? 
Options:
  1. Object loses atleast one reference.
  2. Objects does not have any reference.
  3. When the destructor is called.
  4. None of the above
View Answer/Explanation:
b
Explanation:

Question No: 6 of 40
Is it possible to force the activation of Garbage collection? 
Options:
  1. Yes
  2. No
View Answer/Explanation:
a
Explanation:

Question No: 7 of 40
How can we force the activation of Garbage Collection 
Options:
  1. GC.Collect();
  2. GC.Clear();
  3. GC.Destroy();
  4. GC.ForceClear();
View Answer/Explanation:
a
Explanation:

Question No: 8 of 40
class CA
{
  //..
}
class Program
{
    public static void Main()
    {
        CA a = new CA();
        CA b = a;
        a = null;
    }
}
In Main how many objects are created. 
Options:
  1. 1
  2. 2
  3. 0
  4. Compilation Error
View Answer/Explanation:
a
Explanation:

Question No: 9 of 40
public decimal Balance
{          
  get
  {
     return _Balance;
  }
} 
Options:
  1. Balance is readonly property
  2. Balance is writeonly property
  3. Balance is global variable
  4. Balance is readonly and writeonly property
View Answer/Explanation:
a
Explanation:

Question No: 10 of 40
A class can have private properties. 
Options:
  1. Yes
  2. No
View Answer/Explanation:
a
Explanation:

  1