I will incorporate the comments and edit them later.
I started Java, but I can't understand it easily, so I will study with my own interpretation: ghost:
public static method name (argument list){
processing
}
Method name (argument)
: point_up_tone1: Argument = substrate : point_up_tone1: Method = enzyme Think
public class Main {
public static void main(String[] args){
hello ("Java");
}
public static void hello (String name){
System.out.println(name + "Hello");
}
}
Substrate (argument) activates (calls) the enzyme (hello method) The active site (variable type and order) must be correct: helmet_with_cross: → A compile error will occur.
Recommended Posts