Methods :: Classwork

  1. Define 'method signature'
  2. What is the purpose of the access modifier 'public'?
  3. Where in the program may you write a static method?
  4. Can you declare variables inside a method?
  5. Why are some methods 'void'?
  6. Why are some methods 'non-void'?
  7. Where in the method must you write the return statement?
  8. How many return statements may you include in a method?
  9. Where in your program may you write the method call?
  10. What is the purpose of an argument?
  11. What is the purpose of a parameter?
  12. How many parameters may you include in the method header?
  13. Explain the relationship between arguments and parameters