0
why static keyword is necessary to declare a method? like static void circle()
1 Answer
0
The use of static keyword while declaring a method lets you invoke the method without creating an instance of it.
Example:- static keyword is use in the main method which the entry point of a Java program. This helps in starting the Java program for the very first time without actually instantiating it.