Question #63009

string class is serializable by default ? {true,false} ,and why false if false

Expert's answer

String class is serializable by default.
https://docs.oracle.com/javase/7/docs/api/java/lang/String.html
All Implemented Interfaces:
Serializable, CharSequence, Comparable<String>
because it implements Serializable interface.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS