How is a class attribute different from an instance attribute in Python? - Study24x7
Social learning Network
08 Apr 2024 12:16 PM study24x7 study24x7

How is a class attribute different from an instance attribute in Python?

A

Class attributes are shared by all instances

B

Instance attributes can't be changed

C

Class attributes can't be accessed by instances

D

No difference

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles