Monthly Archives: November 2008

Quiz Answers

  Assume a class A that has a static integer field Ten. Assume a class B that has a static integer field Ten.     What must be true for the following lines to output 32   A.Ten = 10; … Continue reading 

Posted in Uncategorized | 39 Comments

Interesting Code

Umm yeah.       class A    {        public class B : A        {        }    }     //slightly weird    class C : A.B    {        public void Foo(C.B b)        {        }    }     //Love the edge conditions     class D : A    … Continue reading 

Posted in Uncategorized | 7 Comments