21. Can place static variables inside a non-static method?

  • 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.

Leave a Reply

Your email address will not be published. Required fields are marked *