D. Methods: A Deeper Look


Objectives

In this appendix you’ll learn:

Image How static methods and fields are associated with classes rather than objects.

Image How the method call/return mechanism is supported by the method-call stack.

Image How packages group related classes.

Image To use random-number generation to implement game-playing applications.

Image How the visibility of declarations is limited to specific regions of programs.

Image What method overloading is and how to create overloaded methods.


..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset