기타/IT 지식

[IT 지식] parameter/argument

햄습햄 2021. 10. 31. 00:02

Parameter - 파라미터 (매개변수): 메서드에서 선언하는 변수명         (=> 실제 입력 값 X)

Argument - 아규먼트 (전달인자): 메서드로 값 넘길 때 사용하는 변수 (=> 실제 입력 값 O)

 

private void test (String Param1) { }

String Argu1 = "argument";
test(Argu1);

 

 

참고: stackoverflow

https://stackoverflow.com/questions/156767/whats-the-difference-between-an-argument-and-a-parameter

 

What's the difference between an argument and a parameter?

When verbally talking about methods, I'm never sure whether to use the word argument or parameter or something else. Either way the other people know what I mean, but what's correct, and what's the

stackoverflow.com

'기타 > IT 지식' 카테고리의 다른 글

[IT 지식] 인터프리터  (0) 2021.12.22
[IT 지식] 3진법  (0) 2021.11.11
[IT 지식] 등차수열  (0) 2021.10.30
[IT 지식] 어노테이션 (Annotation)  (0) 2021.10.29