A Write Java Code Segment To Draw The Outlined Shape

A Write Java Code Segment To Draw The Outlined Shape