我来自Java,所以我在这里感到困惑。
class Sample(object):
x = 100 # class var?
def __init__(self, value):
self.y = value # instance var?
z = 300 # private var? how do we access this outside Sample?
3个变量声明有什么区别?