O'Reilly logo

Visual C#® 2012: How to Program, Fifth Edition by Harvey Deitel, Paul Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Self-Review Exercises

7.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 in which it’s 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) Data can be added to or removed from only the ________ of a stack.

f) Stacks are known as ________ data structures—the last item pushed (inserted) on the stack is the first item popped off (removed from) the stack.

g) The three ways to return control from a called method to a caller are ________, ________ and ________.

h) An object of class ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required