Explore BrainMass

Explore BrainMass

    Object oriented applications

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

    Consider the entities in your room and develop a class. What would that class look like? Include at least two attributes, data types, and two methods. How did you decide on the data types? What type of applications might be able to use your class? Would you want your methods to require parameters or not? Explain why.

    © BrainMass Inc. brainmass.com June 4, 2020, 4:44 am ad1c9bdddf

    Solution Preview

    I have outlined a response. Data types and attributes was kind of unclear in my mind, so check where I put things to make sure.

    Class would be Living room

    For the Living room I have furniture, accessories, walls and floors

    Types of furniture would be functional, or chairs, entertainment center, sofa, tables. Decorative types might be a free standing globe or planter. There is also a free standing electric fireplace.
    Accessory data types are the lamps, all decorations, pictures, pillows, and knick knacks. Another data type ...

    Solution Summary

    A review of a living room and the class, data types, parameters use, attributes of the objects in the room.