From 0a301a883eeff6684fcf85ddd1f18aed35bc7406 Mon Sep 17 00:00:00 2001 From: Ayush mishra <115908266+AAyyoooo@users.noreply.github.com> Date: Mon, 29 May 2023 12:03:56 +0530 Subject: [PATCH] Update FileExample.java its -- String str= "learn java programming "; --- FileExample.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FileExample.java b/FileExample.java index db33058..abd21d9 100644 --- a/FileExample.java +++ b/FileExample.java @@ -10,7 +10,7 @@ public static void main(String[] args) throws Exception try(FileOutputStream fos=new FileOutputStream("C:/MyJava/Test.txt");) { - String str="earn Java Programming."; + String str="learn Java Programming."; byte b[]=str.getBytes();