Classes with different constructors and methods