Ch7Classwork[1] - CIS106:Ch7(UserDefinedMethods)...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CIS 106:  Ch 7(User-Defined Methods) Classwork (02/11/09) NAME:______________________________ DATE:__________________ (1)  Fill in the blanks in each of the following statements: a. A method is invoked with a(n)__________________. b. A variable known only within the method which it is declared is called a(n)  ___________________. c. The _________________ statement in a called method can be used to pass the  value of an  expression back to the calling method. d. The keyword ____________________  indicates that a method does not return a  value. e. The _____________ of a declaration is the portion of the program that can refer  to the entity in the declaration by name. f. In Java, it is possible to have several methods with the same name that each  operate on different types or numbers or arguments.  This feature is called  method _________________. (2) Give the method header for each of the following methods:
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/04/2010 for the course COMPUTER S 106 taught by Professor Moore during the Spring '08 term at Clark Atlanta.

Page1 / 2

Ch7Classwork[1] - CIS106:Ch7(UserDefinedMethods)...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online