Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: actual and formal parameters

  1. #1
    Junior Member
    Join Date
    Dec 2012
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question actual and formal parameters

    eter?


  2. #2
    Super Moderator pbrockway2's Avatar
    Join Date
    Jan 2012
    Posts
    987
    Thanks
    6
    Thanked 206 Times in 182 Posts

    Default Re: actual and formal parameters

    To get a clear description of a computing term look it up in Wikipedia.

    Consider the expression "a computing term" in that advice. The intent is that advice applies to any piece of computing jargon you may be interested in: the advice is just as good whatever the actual term might be. The expression "term" functions as a formal parameter of the advice, while the actual term you look up, like "formal parameter" would be the actual parameter of a Wikipedia search.

    Notice how the word "term" could have been replaced with many others ("word", "concept", "thing", "search term", "X", etc) The idea is the same whichever we choose - this is what is meant by saying it is a formal parameter. But the fact that the advice applies with special force to computing terms does matter. (Wikipedia is not always as useful) This is a common feature of formal parameters: we often find ourselves needing to limit the domain of advice to some particular type of thing.

    In the body of the advice "it" is used to refer to the actual value of the parameter. In computing languages you are often more explicit: to get a clear description of a computing term, look up that term in Wikipedia.

Similar Threads

  1. [SOLVED] actual and formal lists differ in length
    By Appu14 in forum What's Wrong With My Code?
    Replies: 4
    Last Post: August 28th, 2012, 11:56 PM
  2. Actual and Formal Parameters
    By mikec2500 in forum Object Oriented Programming
    Replies: 4
    Last Post: February 10th, 2011, 08:48 AM
  3. formal and actual parameters
    By gemma in forum Java Theory & Questions
    Replies: 3
    Last Post: December 7th, 2010, 11:14 AM
  4. Actual and formal parameters
    By javanoobie in forum Java Theory & Questions
    Replies: 4
    Last Post: December 5th, 2010, 08:29 AM
  5. Formal I ntroduction
    By sbliss in forum Member Introductions
    Replies: 5
    Last Post: March 15th, 2010, 09:21 AM