一、引言 C11中新增的for循环功能,通常被称为范围基于的for循环(Range-based for loop),它是一种简化的for循环语法,用于遍历容器(如数组、std::vector、std::list等)或其他序列中的所有元素。这…
在上一篇文章中我简单的介绍了io类中的高级流缓冲流,具体继续来介绍一个高级流——对象流
新建一个对象
public class Person implements Serializable {private String name;private int age;private String gender;private transient String[] otherInfo;public…