📜  实例与对象 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:41.085000             🧑  作者: Mango

代码示例1
An instance of a class and an object mean the same thing 
and can often be used interchangeably

Color(Class) ___Create Instance__>> Red(Object)

_________Ex.__________

Color red = new Color();

red is a (instance and object).