Explore BrainMass
Share

Explore BrainMass

    Top-down design, bottom-up design, and the this pointer

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    1. Why is top down design beneficial. Compare this type of design to another type of design you known.

    2. This and that is a powerful keyword used in Java. How is it used and why is it so beneficial? Give an example in your explanation.

    © BrainMass Inc. brainmass.com October 9, 2019, 10:24 pm ad1c9bdddf
    https://brainmass.com/computer-science/java/top-down-design-bottom-up-design-pointer-219015

    Attachments

    Solution Preview

    1. Why is top down design beneficial. Compare this type of design to another type of design you known.

    Top down design is very useful because is allows for a "divide and
    conquer" approach to problem solving. The developer starts by looking
    at the big picture and defines the major parts to the problem, then
    each individual piece is looked at and the process is repeated.

    A good non-programming example is the task of traveling from one city
    to another by air. At the highest level the tasks are:

    1) get from the house to the airport
    2) fly from one city to the other
    3) get from the airport to the hotel

    Now each ...

    Solution Summary

    This solution provides a detailed discussion of the concept of top-down design and compares that with bottom-up design. It also discusses the use of the "this" keyword in Java.

    $2.19