Rectangle类包含内嵌对象成员p1、p2,p1、p2为Point类对象,则下列Rectangle的构造函数中哪个正确()。
A.
Rectangle:Rectangle(Point pp1,Point pp2):p1(pp1),p2(pp2){…}
B.
Rectangle::Rectangle(Point pp1,Point pp2):p1(pp1),p2(pp2){…}
C.
Rectangle::Rectangle(Point pp1,pp2):p1(pp1),p2(pp2){…}
D.
Rectangle::Rectangle(Point pp1,Point pp2){…}