static method can be called from main() 1 point using object using class both using object and class both directly and using classname code example
Example: how to call a static method in java
class scratch{
public static hey(){
System.out.println("Hey");
}
public static void main(String[] args){
hey();
//print Hey to the console
}