PrintStream et PrintWriter sont des flux dotés de méthodes de sortie formatées pratiques : print, println, printf, format. System.out est un PrintStream. La principale différence : PrintStream fonctionne avec des octets, PrintWriter fonctionne avec des caractères et est mieux adapté à la sortie de texte avec un jeu de caractères explicite.

PrintStream — Flux d'octets formaté
Full content is available with a subscription.
Get full access to all courses on the platform for one year with a single payment.
Unlike other platforms that charge per course, here you get everything for one price, and after one year of use there will be no automatic charge for the following year.