Hello,
I have the following array.
String[] temp = new String[101];
and the valus stored in it is temp = c1.getContents();.
After printing the array list using the statement 'System.out.println(temp);', i just want to add a code for searching for a perticular value in that array values. i.e. if the list contains value 'pps', the it should print yes, and if no then it should print 'no'.
I have the following array.
String[] temp = new String[101];
and the valus stored in it is temp = c1.getContents();.
After printing the array list using the statement 'System.out.println(temp);', i just want to add a code for searching for a perticular value in that array values. i.e. if the list contains value 'pps', the it should print yes, and if no then it should print 'no'.