class Wall { var length: Double ... // initializer with parameter init(length: Double) { self.length = length } } // create an object var wall1 = Wall(length: 10.5)