问题详情

在对象序列化中,如何实现对象属性的部分存取?


A、<p><span style="font-size:14px;font-family:宋体">使用</span><span style="font-size:14px;font-family:'Times New Roman','serif'">transient</span><span style="font-size:14px;font-family:宋体">关键字修饰对象属性</span></p>

B、<p><span style="font-size:14px;font-family:宋体">使用</span><span style="font-size:14px;font-family:'Times New Roman','serif'">synchronized</span><span style="font-size:14px;font-family:宋体">关键字修饰</span><span style="font-size: 14px;font-family:'Times New Roman','serif'">readObject</span><span style="font-size:14px;font-family:宋体">()方法</span></p>

C、<p><span style="font-size:14px;font-family:宋体">通过自定义对象序列化途径完成</span></p>

D、<p><span style="font-size:14px;font-family:宋体">使用</span><span style="font-size:14px;font-family:'Times New Roman','serif'">synchronized</span><span style="font-size:14px;font-family:宋体">关键字修饰</span><span style="font-size: 14px;font-family:'Times New Roman','serif'">writeObject</span><span style="font-size:14px;font-family:宋体">()方法</span></p>

时间:2021-07-17 18:28 关键词:

答案解析

A|C