Jump to content

Recommended Posts

Posted

yeah i need replace D  result of that method

Setback means u need to replace D with the result frpm the method ??

 

Posted

may be nenu clear gaa cheppaledhu emo.

 

eppudu okka list lo elements vunnayilist<elements>

 

elements{A,B,c,D}

 

so nenu aa list ne iterate chesi A value tesukoni pass to some method and result should eb assign to D in the list

 

so lsit lo element ki value ela assign chestharu

 

 

aa element object ki setter method for D unte, u can just call that method kadha to set the value, indhulo complication emundhi??

Posted

Find Index of  D ---int index = list.indexof("D");

 

String d_new = result of method;

 

String d_old_temp = "D"; (incase u need to hold it for future;

 

list.set(index,d_new);

 

 

thappaithe sorry...

 

 

Posted

solve ayyinda? i dont know java

 

 

no, question lo inka clarity raledhu, so ts kosam waiting

×
×
  • Create New...