Getting an Error on not initializing the variable in two methods

Printable View