What is a static method in java?
Java Programming Java8Object Oriented Programming. The static keyword is used to create methods that will exist independently of any instances created for the class. Static methods do not use any instance variables of any object of the class they are defined in.
🔗Reference: stackoverflow.com
🔗Source: Java Interview Questions and Answers