Computer Science, asked by rachitkothadia98, 7 months ago

name the attributes of the class

Answers

Answered by Anonymous
11

\huge{\boxed{\mathfrak{Hello}}}

Class attributes are attributes which are owned by the class itself. They will be shared by all the instances of the class. Therefore they have the same value for every instance. We define class attributes outside all the methods, usually they are placed at the top, right below the class header.

Similar questions