Skip to content

Commit 833f166

Browse files
committed
Serialization programs
1 parent 879fa11 commit 833f166

3 files changed

Lines changed: 1 addition & 1 deletion

File tree

employee.txt

-5 Bytes
Binary file not shown.

src/main/java/com/alien/serialization/SerializationWithInheritance.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public static void main(String[] args) {
3333

3434
try {
3535

36-
Employee emp1 = new Employee(211, "Alien", "Engineering", 50000);
36+
Employee emp1 = new Employee(211, "Alien", "Google", 50000);
3737

3838
FileOutputStream fout = new FileOutputStream("employee.txt");
3939
ObjectOutputStream out = new ObjectOutputStream(fout);
Binary file not shown.

0 commit comments

Comments
 (0)