Test description

Take this test to prove your theoretical knowledge of Object-oriented programming, as well as your ability to work with OOP concepts every day.
Topics: the principles of OOP (encapsulation, abstraction, inheritance and polymorphism), the most common Design Pattern (singleton) and their use.

Sample questions

1
Which of the below best describes the following code:

public class Rectangle
    {
        public double GetArea(double length, double width)
        {
            return length * width;
        }
    }

    public class Square : Rectangle
    {
        public double GetArea(double size)
        {
            return size * size;
        }
    }