Q:

Technique for filling color to grouped objects

I created a simple straight line using the Pen Tool. Then I made 3 copies of it and grouped (Ctrl + G) them together to make a square. But now I can't fill a color for it. Even if I do it does not get affected. I wanna fill color just like when i do it with a rectangle tool.

A:

Select all the artwork and use the Live Paint Bucket Tool to fill with color.
The Live Paint tool allows you to fill and color any series of random paths or shapes. It sort of works like a "flood fill tool" in raster applications. It will create closed shapes for areas you wish to fill and then fill them with your chosen color. Note that after using the Live Paint Bucket Tool you do have additional shapes.
It is best to draw shapes as closed paths rather than a series of disjointed lines in most cases. This would eliminate the trouble you are running into.

