How to call a method in java?
To call a method in Java, write the method’s name followed by two parentheses () and a semicolon; The process of method calling is simple. When a program invokes a method, the program control gets transferred to the called method.
🔗Reference: stackoverflow.com
🔗Source: Java Interview Questions and Answers