What is difference between function oriented design and object oriented design?



What is difference between function oriented design and object oriented design?..

Answer / Amit Garg

Function-Oriented Design (FOD) focuses on breaking down a program into smaller, independent functions. Each function performs a specific task and can be tested in isolation. On the other hand, Object-Oriented Design (OOD) emphasizes creating objects that encapsulate data and behaviors related to that data. OOD organizes code around objects, which can have relationships with each other. FOD is more procedural, while OOD is more object-based.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Design Patterns Interview Questions

Is singleton an anti pattern?

1 Answers  


Design the Factory pattern and What is its application ?

1 Answers   HP,


What are the design patterns and How can they make life easier for software development ?

1 Answers   ABC, HP,


What is difference between GoF and J2EE patterns?

1 Answers   Accenture,


Why should we not use singleton pattern?

1 Answers  


What is singleton and factory pattern?

1 Answers  


What are actually Model,view,Controller in MVC Pattern?

2 Answers   Honeywell,


What is the executor design pattern?

1 Answers  


Why have we declared the instance reference volatile?

1 Answers  


What three types of components comprise an application design?

1 Answers  


Why is singleton bad?

1 Answers  


2. Create your own definition of a system. Based on the “system” definitions a. Identify your viewpoint of shortcomings in the definitions. b. Provide rationale as to why you believe that your definition overcomes those shortcomings. c. From an historical perspective, identify three precedented systems that were replaced by unprecedented systems.

1 Answers   IBM,


Categories