Question: Object-Oriented Concepts (1) Understand and correctly use the basic Java/Codename One (CN1) elements that we have utilized in class such as objects, access modifiers, constructors,

 Object-Oriented Concepts (1) Understand and correctly use the basic Java/Codename One

Object-Oriented Concepts (1) Understand and correctly use the basic Java/Codename One (CN1) elements that we have utilized in class such as objects, access modifiers, constructors, references, arrays, vectors, parameter passing, etc. Understand relevant aspects of the compile-execute environment such as built-in frameworks (e.g. CN1's Ul package). (2) Explain the difference between a class and an object (note that this is not Java/CN1-specific). (3) List the four components generally recognized as comprising the "Object-Oriented" (00) programming paradigm. Give a general description of their meaning and be able to give examples of their application. (4) Explain what is meant by "information hiding" and "bundling", and give an example. (5) Understand the definitions of association, aggregation, composition and dependency, and give an example of each. Explain the similarities and differences between composition and aggregation. (6) Explain and use the elements of a UML class diagram, including general associations (using names, directions, and multiplicities), aggregation and composition, dependency, inheritance, and interfaces. Given a description of a program (set of classes), be able to draw the corresponding UML class diagram, and vice-versa. (7) Explain the notion of "accessor" (including "mutators"), and how they relate to the OO notions of abstraction and encapsulation. Be able to explain why providing public accessor methods is not equivalent to making fields public. (8) Show how to construct a set of classes which have associations between them so that fields are private and yet the classes can reference each other and use accessors appropriately. (9) Explain what is meant by overloading a method, and give an example. Explain why constructors are commonly overloaded

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!