parameters...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • outofmymind
    New Member
    • Oct 2006
    • 45

    parameters...

    hi again,

    My instructor mentioned once in class when we were getting details of our exam, that its important to know parameters. We should know about them, how to pass them etc. But i dont know how my instructor will get us to do something with parameters in the exam, becuase when we write programs in eclipse we go to run -> parameters-> apply.....etc.

    any suggestions?

    thanks
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by outofmymind
    hi again,

    My instructor mentioned once in class when we were getting details of our exam, that its important to know parameters. We should know about them, how to pass them etc. But i dont know how my instructor will get us to do something with parameters in the exam, becuase when we write programs in eclipse we go to run -> parameters-> apply.....etc.

    any suggestions?

    thanks
    The parameters your instructor was refering to are parameters to methods or constructors.


    e.g

    in
    Code:
     public int sum(int a, int b) { 
    	 return a + b;
    }
    the parameters are a and b. You should know how to call methods using the method parameters and maybe also have an understanding of types of passing techniques available in Java

    Comment

    Working...