Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Can we write class inside a class in java?

979


Why do I need to declare the type of a variable in java?

1078


What is the difference between stream and buffer?

963


What is the latest version of java?

1128


How dead lock situation occurs in java and how you can identify it?

992


Can we have return statement in finally clause? What will happen?

964


How does the garbage collector works in java?

1092


What is local variable and instance variable?

1052


What happens if a try-catch-finally statement does not have a catch clause to handle an exception that is thrown within the body of the try statement?

1104


What does %4d mean in java?

1477


Can a final variable be initialized in constructor?

969


Java Compiler is stored in JDK, JRE or JVM?

1520


Are arrays immutable in java?

1082


Does set allows null in java?

954


Does chrome use java?

961