Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
HunorVadaszPerhat authored Apr 10, 2023
1 parent 54b6132 commit 60956e1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion transient_keyword/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,10 @@

- in Java, serialization is a concept using can be used the state of an object into a byte stream to be transferred over a network
- during the process of serializing an object of a class if one wants to the JVM to neglect to a particular instance variable it must be declared transient
-

![Transient](https://github.com/HunorVadaszPerhat/java_lang_specs/blob/main/images/transient.png)

### Serialize vs deserialize
![Serialize vs deserialize](https://github.com/HunorVadaszPerhat/java_lang_specs/blob/main/images/serialize_deserialize.png)
- *serialize*: the process of converting complex data structures such as objects into a "flatter" format that can be sent and received as a sequential stream of bytes
- *deserialize*: the process of restoring byte stream to a fully functional replica of the original object, in the exact state as when it was serialized

0 comments on commit 60956e1

Please sign in to comment.