Java Code Now that we've discussed how object inheritance works, we've covered all of the basic principles of object-oriented design. You should now be familiar with two different methodologies for creating programs: Structural/Procedural design: A program is split into one or more functions, which can all be in the same file or in different files. The code runs sequentially, using no dynamic binding. Code and data are kept separate. This is how you first learned to write programs, before you knew how to create classes and objects. Object-Oriented design: A program is split into different groupings of data and code called objects. The program runs by creating interactions between objects, which may involve dynamic binding (polymorphism) to decide what functions to call at runtime. The data and code are inseparable from each other, and data is often hidden to prevent unwanted access by unknown code. This is how we've learned to write programs in this course. state what you believe are the biggest differences between the structured and object-oriented design methodologies. Compare and contrast the two a bit. Now that you've learned how to do both, which methodology do you prefer? If you choose to look up any additional information to share, remember to credit your sources.  When making your reply, share an insight you have about the different methodologies that the original poster didn't mention.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter11: Advanced Inheritance Concepts
Section: Chapter Questions
Problem 14RQ
icon
Related questions
Question

Java Code

Now that we've discussed how object inheritance works, we've covered all of the basic principles of object-oriented design. You should now be familiar with two different methodologies for creating programs:

  • Structural/Procedural design: A program is split into one or more functions, which can all be in the same file or in different files. The code runs sequentially, using no dynamic binding. Code and data are kept separate. This is how you first learned to write programs, before you knew how to create classes and objects.
  • Object-Oriented design: A program is split into different groupings of data and code called objects. The program runs by creating interactions between objects, which may involve dynamic binding (polymorphism) to decide what functions to call at runtime. The data and code are inseparable from each other, and data is often hidden to prevent unwanted access by unknown code. This is how we've learned to write programs in this course.

state what you believe are the biggest differences between the structured and object-oriented design methodologies. Compare and contrast the two a bit. Now that you've learned how to do both, which methodology do you prefer? If you choose to look up any additional information to share, remember to credit your sources. 

When making your reply, share an insight you have about the different methodologies that the original poster didn't mention.

Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Class
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT