⟩ What interface must an object implement before it can be written to a stream as an object?
An object must implement the Serializable or Externalizable interface before it can be written to a stream as an object.
An object must implement the Serializable or Externalizable interface before it can be written to a stream as an object.
Tell me what is reflection? Give an example of functionality that can only be implemented using reflection?
Tell us what is the difference between equals() and == ?
Tell me why is the code printing true in the second and false in the first case?
Explain me how does the JVM handle storing local variables vs storing objects?
Do you know what is a Service?
Please explain and compare fail-fast and fail-safe iterators. Give examples?
Do you know why Java is platform independent?
Explain me when do you use volatile variables?
Explain me how are Annotations better than a Marker Interfaces?
Explain me what is singleton class and how can we make a class singleton?