Java
文章平均质量分 93
稀奇_
这个作者很懒,什么都没留下…
展开
-
Java 知识点
Object(对象):对象是类的一个实例,有状态和行为。例如,一条狗是一个对象,它的状态有:颜色、名字、品种;行为有:摇尾巴、叫、吃等。An object is an instance of a class (not a girlfriend), with states and behaviors. For example, a dog is an object, and its state includes: color, name, breed; Behaviors include wagging t原创 2023-05-08 23:04:58 · 215 阅读 · 0 评论 -
访问者模式(Visitor Pattern)
彻底理解访问者模式原创 2023-05-03 15:11:22 · 126 阅读 · 0 评论