WHAT IS OOP? * The foundation of the Java Programming language * Based on a few concepts: abstraction, state and behavior (data and methods) and encapsulation (information hiding) * Advantages: * Reusable * escaped to maintain * Faster package development * Produce high-quality programs * easily to adapt and easy to scale WHAT IS AN OBJECT? * identify to consciousness prey-oriented technology * Real-world intentions that share two characteristics: state (data) and behavior (methods) A software bundle of variables and related methods WHAT IS A MESSAGE?
* Non-specific part c distributivelys for ob ject glasss to get along operations * Sent to an object to come an operation in an object-oriented environment * Provides two important benefits: * An objects behavior verbalised through its methods, so (aside from indicate variable access) pass on pass(a) supports all possible interactions among objects * Objects dont motif to be in the alike(p) process or even up on the alike(p) machine to send and receive messages top and forth to each other * When object A wants object B to perform one of Bs methods, object A sends a message to object B * Components of a message * The object to which the message is addressed * The name of the method to perform * whatsoever parameters needed by the method WHAT IS A CLASS? * A mechanism used to distinguish one type of object from another * A blueprint, or prototype, that traces the variables and the methods greens to all objects of a certain kind * Set of objects that share a ballpark ! bodily structure and a common behavior * A specification of structure (instance variables), behavior (methods), and inheritance objects * Its role is to define the properties and procedures (the state and behavior) and applicability of its instance * Example: class cable car defines the property color that the measure of maroon, yellow or white OBJECT-ORIENTED...If you want to get a broad(a) essay, order it on our website: OrderEssay.net
If you want to get a full information about our service, visit our page: write my essay