| Share this post! | Vote this! |
|
Java Object-Orientation
- Encapsulation
- Inheritance
- Overloading Methods
- Overriding Methods
- Polymorphism
OOP encapsulates data (attributes) and methods (behaviors) into objects, the data and methods are intimately tied together, implementation details are hidden within the objects themselves. In Java the unit of programming is the class from which objects are eventually instantiated. Methods and data are encapsulated within the walls of the class. A class contains the data and the methods that access the data contained within the class. The data contained in a class is called the instance variables. more...



0 comments:
Post a Comment