Told you contains was just an specialized implementation of indexOf. Making it better practice to infact use indexOf() :)
Chris
Type: Posts; User: Freaky Chris
Told you contains was just an specialized implementation of indexOf. Making it better practice to infact use indexOf() :)
Chris
Firstly welcome to Java Programming Forums
As far as im aware .contains() is a newer method that is just a specialized case of indexOf()