📜  参数和属性差异 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:01.078000             🧑  作者: Mango

代码示例1
Difference btw attributes and Parameters

- Attributes are variable that are declared directly in class.

- Parameters are variables which are passed with the functions when 
  they are declared