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
Sur cette page du site, vous pouvez voir la vidéo en ligne java interview question - replace space with %20 in java - 1(2) [cracking the coding interview ] durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Java Essential 06 mars 2016, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 2,686 fois et il a aimé 17 téléspectateurs. Bon visionnage!