What is the difference between parameters and arguments ?
Answer Posted / sadikhasan palsaniya
when defining a method like
public static void show(int a,int b){}
here variable a and b is parameter.
public static void main(String...string){
show(10,20);
}
here 10 and 20 is argument for show method.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What does java stand for?
What are different types of constants?
Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.
What do you mean by boolean?
Why is string buffer better than string ?
What is token in java?
What is high level language in computer?
What is unmodifiable collection in java?
What are the different tags provided in jstl?
How can we use primitive data types as objects?
What is bifunction in java?
What is the common usage of serialization? What exceptions occur during serialization?
What is the byte order of byte buffer?
Difference between arraylist and vector.
Can a private method of a superclass be declared within a subclass?