Summary

Team-Fly

This chapter presents an overview of OOP. We started with the concept of objects and examined how like objects can be grouped together into classes. Within a class, we define the variables and methods that are common to all the objects in the class. When we declare a new object, it is referred to as an instance of the class from which we created it. We also discussed how classes can be nested within each other to form a class hierarchy. A class that is subordinate to another class is called a subclass, and a class that has subordinates is called a superclass.

Each major aspect of OOP-object, class, or inheritance-has its own features. Objects enable programmers to use encapsulation and modularity in programs. Classes allow programmers to reuse code and group logically similar objects together. Inheritance supports abstract code construction and the reuse of code because it can be shared across classes that contain common aspects.


Team-Fly


Java & BAPI Technology for SAP
Java & BAPI Technology for SAP
ISBN: 761523057
EAN: N/A
Year: 1998
Pages: 199

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net