Implement ch02/explicit_type_declaration examples