Section 12.6. Quiz


12.6. Quiz



Question 121

What is operator overloading?



Question 122

Are operators implemented as properties, static methods, or instance methods ?



Question 123

How does the compiler translate:

 Fraction f3 = f2 + f1; 

assuming that f2 and f1 are Fraction objects and you have overloaded the + operator for the Fraction class?



Question 124

What should you also do if you overload the == operator?



Question 125

What is the difference between implicit and explicit conversion?



Learning C# 2005
Learning C# 2005: Get Started with C# 2.0 and .NET Programming (2nd Edition)
ISBN: 0596102097
EAN: 2147483647
Year: 2004
Pages: 250

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net