https://www.study24x7.com/post/16706/consider-the-following-code-fragment-rectangle-r1-new-r-0