.

Friday, April 19, 2019

Article question Assignment Example | Topics and Well Written Essays - 250 words

Article question - Assignment fount one and only(a) of the major disadvantages of structured programming is redundancy of code. Since the program code is divided into modules therefore, there is a high possibility that the same code can be repeated in different modules.The comprehend preference of object oriented languages over the more structural programming languages in industry forthwith is due to some chief attributes of the object oriented programming paradigm. These attributes are encapsulation, information hiding and inheritance. These characteristics get up programming easier in this paradigm. The object oriented programming model better reflects the human way of thought and conceptualizing. The reason is that several objects are make while coding a program. For instance, a class is made on person. Then from this class different objects can be made like student, teacher, employee and so forth this is similar to the thinking of mankind.1. Information Hiding Through inform ation hiding dependencies among modules is reduced. It direction that if in a home two children are given separate way of lifes and they are restricted to enter in the others room then each of them are only concerned with their own room and they dont know the things of the other.2. Encapsulation It is communication between different things. For example if a person goes to a restaurant and orders rice to waiter. Then there is no communication between the person and cooker but by dint of rice they are linked to each other.3. Inheritance The technique of inheritance is analogous to the inheritance of biologic traits from parent to child in that certain characteristics and physical structures carry from one generation to the next.4. Polymorphism It means implementation of same thing in different ways. For example a kid asks his mother for meal. One way to is that mother serves the meal on the table while the other way is

No comments:

Post a Comment