Difference between an argument and a parameter?
Answer Posted / dhawal
parameters are those that are passing to the method at the
time of defining the method but arguments are those which
are passed at the time of calling that method
| Is This Answer Correct ? | 34 Yes | 4 No |
Post New Answer View All Answers
Can we sort hashset in java?
What is the difference between comparison done by equals method and == operator?
Hi Anyone know the model / questions of the Federal bank sample questions for the post of Specialist Officers - Programmers. Please post if anyone have..
What is stringjoiner ?
What is the use of runnable interface?
What is the difference between a synchronized method and a synchronized block?
Is 0 an irrational number?
What does microservices mean?
When should I use singleton?
Is jdk required on each machine to run a java program?
What is update method called?
2) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this?
What is the purpose of the finalize() method?
What advantage do java's layout managers provide over traditional windowing systems?
Why java uses the concept of the string literal?