Object-oriented concepts can be difficult to grasp and one's understanding of the concepts often slowly evolve over time. These false claims confused consumers causing misinformation and mistrust of object-oriented technology to abound. However, in spite of the overuse and misuse of the term object-oriented, the computer industry is now beginning to overcome the hype and there is a growing understanding of this technology and its benefits. This lesson slashes through all of the hype and explains the key concepts behind object-oriented programming, design and development. Those are covered in context of Java programming examples in later sections of this on-line guide.
Objects are software bundles of data and related procedures.
Software objects are often used to model real-world objects you find in everyday life. Software objects interact and communicate with each other via messages . A class is a template or prototype that defines the variables and the methods common to all objects of a certain kind. Classes inherit state and behaviour from their superclass . Inheritance provides a powerful and natural mechanism for organizing and structuring software programs.