Home > Articles

  • Print
  • + Share This
This chapter is from the book

chapter.jpg Chapter Summary

The following topics were covered in this chapter:

  • An overview of declarations that can be specified in a class

  • Declaration of methods, usage of the this reference in an instance method, and method overloading

  • Declaration of constructors, usage of the default constructor, and overloading of constructors

  • Explanation of declaration, construction, initialization, and usage of both one-dimensional and multidimensional arrays, including anonymous arrays

  • Sorting and searching arrays

  • Parameter passing, both primitive values and object references, including arrays and array elements; and declaring final parameters

  • Declaring and calling methods with variable arity

  • Declaration of the main() method whose execution starts the application

  • Passing program arguments to the main() method

  • Declaring and using simple enum types

  • + Share This
  • 🔖 Save To Your Account