Sunday, June 9, 2019
Article question Assignment Example | Topics and Well Written Essays - 250 words
Article question - Assignment ExampleOne of the major(ip) 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 tell in different modules.The perceived preference of object oriented languages over the more structural programming languages in industry today is due to approximately chief attributes of the object oriented programming paradigm. These attributes argon encapsulation, information cover and inheritance. These characteristics make programming easier in this paradigm. The object oriented programming model cleanse reflects the human way of thinking and conceptualizing. The reason is that several objects are made 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 etc. this is similar to the thinking of mankind.1. Information Hiding Through information hiding d ependencies among modules is reduced. It means that if in a home two children are given separate rooms 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 workout if a person goes to a restaurant and orders rice to waiter. Then there is no communication between the person and cooker but through rice they are linked to each other.3. Inheritance The technique of inheritance is analogous to the inheritance of biological traits from parent to child in that certain characteristics and physical structures carry from one and only(a) generation to the next.4. Polymorphism It means implementation of same thing in different ways. For example a kid asks his go for meal. One way to is that mother serves the meal on the table while the other way is
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment