Question

In: Computer Science

Discuss Serialization, what is it? What are the processes and features? What is the function of...

Discuss Serialization, what is it? What are the processes and features? What is the function of the keyword Transient?

Solutions

Expert Solution

1.serialization is the process of converting an object's state to a sequence of bytes. It is then transmit to memory,database etc.Its mainly done to save the state of the object. We can recreate it when needed.

2.A process has a self-contained execution environment. A process generally has its run-time resources.Process object controls the process and gets information about it. The Process class is an abstract class, therefore, it cannot be instantiated. The important methods of the Process class are destroy(), exitValue(), getErrorStream().

Features of java

1) Simple

Java is easy to learn and its syntax is quite simple, clean and easy to understand.The confusing and ambiguous concepts of C++ are either left out in Java or they have been re-implemented in a cleaner way.

Eg : Pointers and Operator Overloading are not there in java but were an important part of C++.

2)Multithreaded

With Java's multithreaded feature it is possible to write programs that can perform many tasks simultaneously. This design feature allows the developers to construct interactive applications that can run smoothly.

3)Interpreted

Java byte code is translated on the fly to native machine instructions and is not stored anywhere. The development process is more rapid and analytical since the linking is an incremental and light-weight process.

4)High Performance

With the use of Just-In-Time compilers, Java enables high performance.

5)Distributed

Java is designed for the distributed environment of the internet.

6)Dynamic

Java is considered to be more dynamic than C or C++ since it is designed to adapt to an evolving environment. Java programs can carry an extensive amount of run-time information that can be used to verify and resolve accesses to objects at run-time.

3.It is used in serialisation. If any variable declared as transient value it will not be serialized.example for object transient variable it would be null value.it have an important role in security constraints.it is good to use this keyword for private data field.


Related Solutions

Discuss in detail the structural features of transcription factors and how these features relate to function.
Discuss in detail the structural features of transcription factors and how these features relate to function.
What is the role of this compartmentalization in these processes and why is it essential to their function? Discuss using thermodynamic terms. Could these processes occur in the cytoplasm?
The citric acid cycle and oxidative phosphorylation take place in the mitochondrion, a highly compartmentalized organelle. What is the role of this compartmentalization in these processes and why is it essential to their function? Discuss using thermodynamic terms. Could these processes occur in the cytoplasm?
what are the different function features of python and javascript?
what are the different function features of python and javascript?
discuss the development of TMJ, its unique features in terms of structure and function and its...
discuss the development of TMJ, its unique features in terms of structure and function and its clinical significance
1) How does temperature affect enzyme function? Hint: discuss two separate processes. 2) What is an...
1) How does temperature affect enzyme function? Hint: discuss two separate processes. 2) What is an active site on an enzyme? What is a substrate? 3) What is the metastable state, and what does it have to do with activation energy? 4) What is Vmax, and how does it relate to the concept of saturation? 5) What is allosteric regulation of an enzyme?
Explain the processes of lasing in the Nd: YAG laser. What is the function of Nitrogen,...
Explain the processes of lasing in the Nd: YAG laser. What is the function of Nitrogen, and Helium in the gas mixture of the Nd: YAG laser?
4. Explain the processes of lasing in the Co2 laser. What is the function of Nitrogen,...
4. Explain the processes of lasing in the Co2 laser. What is the function of Nitrogen, and Helium in the gas mixture of the co2 laser?
Why are Syngamy and meiosis processes in the life cycles of organisms ? What function do...
Why are Syngamy and meiosis processes in the life cycles of organisms ? What function do you think the spores have in physarum? How do myxamoebae aggregate? How does a pseudoplasmodium differ from a true plasmodium? What function does the E. Cool have in the culture of dictyostelium?
what are the features of quantitative study in nursing? Briefly discuss different designs of research.
what are the features of quantitative study in nursing? Briefly discuss different designs of research.
What are the distinguishing features of the New Classical Macroeconomics? Discuss two policy implications of the...
What are the distinguishing features of the New Classical Macroeconomics? Discuss two policy implications of the New Classical Macroeconomics.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT