diff --git a/Lesson3/IO/Example of files and IO/SerializeObject.java b/Lesson3/IO/Example of files and IO/SerializeObject.java index d225ece..c954e9e 100644 --- a/Lesson3/IO/Example of files and IO/SerializeObject.java +++ b/Lesson3/IO/Example of files and IO/SerializeObject.java @@ -1,4 +1,3 @@ -import java.io.IOException; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.ObjectInputStream; @@ -41,7 +40,7 @@ public static void main(String[] args) throws Exception { class UserProfile implements java.io.Serializable { private String name, email, themecolor; - public transient String something; + private transient String something; public UserProfile(String name, String email, String themecolor, String something){ this.name = name; @@ -56,4 +55,4 @@ public String toString(){ "\nTheme Color: " + themecolor + "\nSomething (transient): " + something; } -} \ No newline at end of file +}