View Count: 0
Duration: 25 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 20 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 20 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 30 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 15 mins
Accessed date:
Not Yet Viewed
Post your comment / feedback here
 
 

Be the first one to comment about this video

Sorry!For this module there is no Assignments.
Question No: 1 of 11
Which of the following keyword is used to overload user defined types by defining static member functions? 
Options:
  1. op
  2. opoverload
  3. operator
  4. operatoroverload
View Answer/Explanation:
c
Explanation:

Question No: 2 of 11
Which of following statements are correct in nature? 
Options:
  1. The conditional logical operators cannot be overloaded
  2. The array indexing operator can be overloaded
  3. A public or nested public preference type does not overload the equality operator
  4. None of the mentioned
View Answer/Explanation:
a
Explanation:

Question No: 3 of 11
Operators that cannot be overloaded are? 
Options:
  1. ||
  2. +=
  3. +
  4. []
View Answer/Explanation:
a b c
Explanation:

Question No: 4 of 11
Which statements are correct about operator overloading? 
Options:
  1. Mathematical or physical modeling where we use classes to represent objects such as vectors,matrices,complex-numbers etc
  2. Graphical programs where coordinate related objects are used to represent positions on the screen
  3. Financial programs where a class represents an amount of money
  4. All of the mentioned
View Answer/Explanation:
d
Explanation:

Question No: 5 of 11
Correct way to define operator method or to perform operator overloading is? 
Options:
  1. public static op(arglist) { }
  2. public static retval op(arglist) { }
  3. public static retval operator op(arglist) { }
  4. All of the mentioned
View Answer/Explanation:
c
Explanation:

Question No: 6 of 11
What is vector in operator overloading? 
Options:
  1. class
  2. method()
  3. data type
  4. None
View Answer/Explanation:
c
Explanation:

Question No: 7 of 11
Consider the following code: 

// MyClass1.cs
partial class MyClass 
 {
        partial void f(int x);
 }

// MyClass2.cs
partial class MyClass 
 {
        partial void f(int x) 
        {
                Console.WriteLine(x.ToString());
        }
 }

Which of the following statements is TRUE? 
Options:
  1. The partial method MUST return 'void'
  2. Parameters can be 'output parameters'
  3. The partial method is always public
  4. None of the above
View Answer/Explanation:
a
Explanation:

Question No: 8 of 11
Is it possible to add an extension method to the static classes? 
Options:
  1. Yes
  2. No
View Answer/Explanation:
a
Explanation:

Question No: 9 of 11
Is it possible to declare an extension method to the outside static class? 
Options:
  1. Yes
  2. No
View Answer/Explanation:
b
Explanation:

Question No: 10 of 11
Which is the coreect synatx  of creating  an extension method? 
Options:
  1. public static class A { public static string M(this string data) { return "something"; } }
  2. public static class A { public string M(this string data) { return "something"; } }
  3. public class A { public static string M(this string data) { return "something"; } }
  4. public class A { public string M(this string data) { return "something"; } }
View Answer/Explanation:
a
Explanation:

  1