what is difference between static method and instance method?
Instance method are methods which require an object of its class to be created before it can be called. Static methods are the methods in Java that can be called without creating an object of class. Static method is declared with static keyword. ... Static method means which will exist as a single copy for a class.