how to find a number which is present in an array or not and get the position of that number in java [duplicate]

if(arr[i]==value) here you are checking the value.
And i is the index/position

Browse More Popular Posts

Leave a Comment