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

What is "this" keyword in java? Explain

1049


Explain what is encapsulation?

1011


Explain notify() method of object class ?

1033


When can we say that threads are not lightweight process in java?

1077


What does a za z0 9 mean?

1029


Why is singleton instance static?

945


Are arrays immutable in java?

1003


how we can make a write-only class in java?

971


How does indexof work?

893


What is the java project architecture?

2185


What is difference between next () and nextline () in java?

937


what is synchronization? : Java thread

967


Variables used in a switch statement can be used with which datatypes?

933


How does varargs work in java?

1036


What is the difference between static method and instance method in Java?

1128