What are you trying to achieve?

You need to place the initialisation in the constructor.

A couple of pointers, think about the type you are using. Since you are storing a single character for...