1. With Illustrator it is easier to create rounded corners. This can also be applied to rounded shapes also.
2. You need to Make your path or lines, and convert it into ROUND CORNERS by selecting EFFECT > STYLIZE > ROUND CORNERS.A window will appear. Set the Radius according to your choice and hit OK.
3. You have successfully created Rounded corners with Illustrator.