Do you want something like this?
That would put the result of formSection into the variable sec1.Code:static Section formSection(Section section1, Section section2);
.
.
.
sec1 = formSection(x,y);
Printable View
ya i understood , i have to return section itself
static Section formSection(Section section1, Section section2);
.
.
.
sec1 = formSection(x,y);
ya i want exactly waht u said!!!
can you tell me what would b its syntax while defining it? i am beginner so please have patience!!
That looks right to me.
--
Mats