How to define a variable which can be accessed across the class?

Printable View