what excactly are atrributes in a class?

I have been googling for 2 hours and I still don't know what an attribute is in a Class.

could someone give me an example?

I am familiar with other aspects if a class for example getmethods setmethods constructs and destructs. I need it for my homework, I would really appreciate it if someone could help me or even better give me an example code

Thank you in advance
Topic archived. No new replies allowed.