Infosys interview question

how to declare class as static