Hi,
what is the difference between argument and parameter in java ?
Argument and Parameter in java
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Prabhu RajaRank #861 · 2.6K reputationPosted Oct 22, 2011, 7:03 PM EDT
Satyapriya NayakRank #47 · 31.5K reputationPosted Oct 22, 2011, 9:34 PM EDT
Variables defined in the method are called parameters. We define a method with objects or references or variables then that objects or references or variables are called as parameters.Values passed to those variables are called arguments. We are calling using that method with their objects or references or variable values through that class object is called arguments.Thanks