正在加载图片...
理解结构与类的区别 结构和枚举 口 类是引用类型-存储对值的甲 两个变量都发生 student1.Age 变化 Age=18 Age=20 student1 student1 studnet2 student1 studnet2 student1.Age =18 student2 student1 student2.Age =20 11结构和枚举 11 理解结构与类的区别 student1 student1.Age = 18 Age=18 ❑ 类是引用类型-存储对值的引用 student1 studnet2 student2 = student1 student1.Age 两个变量都发生 变化 Age=20 student1 studnet2 student2.Age = 20
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有