Yes, of course. We can place static variables inside static method or non-static method But inside a static method, we only can use static member, we can not use non-static method.