}
}
}
let circname = rectangle()if circname.print?.circleprint() != nil {
println("Area of circle is specified)")
} else {
println("Area of circle is not specified")
}When we run the above program using playground, we get the following result:
Area of circle is not specified