Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Emp[] em2= (Emp[]) ois.readObject();
- for(Emp em3:em2 ){
- System.out.println(em3.id);
- System.out.println(em3.name);
- System.out.println(em3.age);
- System.out.println(em3.salary);
- }
- ois.close();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement