as far as the performance is concerned, the replace() method is a bit faster than replaceAll() because the later first compiles the regex pattern and then matches before finally replacing whereas the replace simply matches for the provided argument and replaces.
Please watch this video on 720p or 1080p for better visibility
Facebook page - / javaessential
Email - javaessential@gmail.com
Website - http://www.javaessential.com
In questa pagina del sito puoi guardare il video online java interview question - replace space with %20 in java - 1(2) [cracking the coding interview ] della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Java Essential 06 marzo 2016, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 2,686 volte e gli è piaciuto 17 spettatori. Buona visione!