what is diffrence between Function Oriented Design and
Obeject Oriented design

Answer Posted / bijumon v g

In a program, there is DATA and function/procedure. In both
design, the functions are arranged in a particular order so
that desired requirements are properly implemented. Main
difference between them lies in the case of
accessing/changing the data. In FOD, only scope
(global/local etc)controls whether a function can
access/change the data. But in OOD, inspite of the scope,
there is access modifiers (private/protected/public) -
encapsulation/data hiding - which restricts to
access/change the data.

Is This Answer Correct ?    7 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between builder and composite?

618


Suppose we have file(ps), dont know how many records are there. Move half of the records to 2 files. How can we do?

586


what are the creational design patterns

672


What is the difference between architecture and design?

590


What are the most popular design patterns?

583






Which design pattern is mvc?

630


Why do we need singleton pattern?

593


How do you choose a design pattern?

566


What is lexi design pattern?

716


Can we make the reference instance non static?

549


Explain what is good design?

625


What is the singleton design pattern?

633


What is singleton and factory pattern?

582


What are the languages used in the design pattern?

585


Where should we use singleton design pattern?

549