Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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,

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spatial Databases With Application To GIS

Authors: Philippe Rigaux, Michel Scholl, Agnès Voisard

1st Edition

1558605886, 978-1558605886

More Books

Students also viewed these Databases questions