Question: what is the difference between static and instance method?
Answer: 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. ... Instance or non static methods are invoked by using object reference.