Interpret the relationship between Java methods and arguments into a biochemical formula

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:

Method definition


public static method name (argument list){
processing
}

Method call

Method name (argument)

Concept of arguments and methods

: 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.

622.jpg

Recommended Posts

Interpret the relationship between Java methods and arguments into a biochemical formula
Think about the differences between functions and methods (in Java)
[Java] Relationship between H2DB and JDBC
[Ruby] Relationship between parent class and child class. The relationship between a class and an instance.
The relationship between strict Java date checking and daylight savings time
About the relationship between the Java String equality operator (==) and initialization. Beginners
Relationship between kotlin and java access modifiers
A note on the differences between interfaces and abstract classes in Java
Summarize the differences between C # and Java writing
[Java] The difference between the Stream.of () and Arrays.stream () methods that you do not know unexpectedly
What is the difference between a class and a struct? ?? ??
[JAVA] What is the difference between interface and abstract? ?? ??
Verification of the relationship between Docker images and containers
What is the difference between Java EE and Jakarta EE?
[Java] Arguments and parameters
Regarding the difference between Java array and ArrayList, I compared and corresponded methods with similar functions.
[Java] Throw a request and display the screen ② (GET / POST)
Difference between Java and JavaScript (how to find the average)
[Java] Throw a request and display the screen (GET / POST)
[Java] Check the difference between orElse and orElseGet with IntStream
[Java] Difference between == and equals
[Java] Generics classes and generics methods
Relationship between Controller and View
Java methods and method overloads
Relationship between package and class
Java abstract methods and classes
[Ruby] Difference between symbol variables and character string variables. About the difference between [: a] and ['a'].
[Java] Introductory structure Class definition Relationship between class and instance Method definition format
What is the difference between a web server and an application server?
I tried to summarize the methods of Java String and StringBuilder
[Java] What is the difference between form, entity and dto? [Bean]