<prompt> Faankishinii Jaavaa kan tarree fi dhangii fudhatuu fi yoo dhangii tarree keessatti qabame dhugaa deebisu barreessi, yoo kana hin taane soba.tarree: abaaboo, muuzii, peerii, hidhaa: peerii .  <response>: public static boolean containsStringTarree tarree, Dhangii str yoo tarree.qabeessastr dhugaa deebisa; else soba deebisa; Galtee kennameef, faankishinicha akkasitti waamta: Tarree list Arrays.asListapple, banana, pear; Dhangii str peer; buaan boolean of keessaa qabaStringtarree, str; Buaan isaa dhugaa taa sababiin isaas pear tarree keessatti waan jiruuf. 