Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialayub ali
Courses Plus Student 723 Pointswhat is parameter
parameter and how it looks like on screen
1 Answer
Jesus Mendoza
23,289 PointsHey Ayub,
A paramater is a name that will be used to store a value passed to a function. It is defined when you define a new function and it can be whatever name you want but it is a convention to use a name that describe what is the value used for.
For example
public void bar(int parameter1, int parameter2) {
...code
}
ayub ali
Courses Plus Student 723 Pointsayub ali
Courses Plus Student 723 Pointsbro thanks, so you mean parameter is like number,because int,is always followed by number. and this is stored, is that what you mean.