+ added method printDetails which overrides the method in person and only prints the details specified in subclass