Can we declare static variable inside method

Can we declare static variable inside method

Answer : No, Only final variable is permitted inside method and by default all methods are abstract in interface.

Leave a Reply

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