logo

Object Oriented Programming in Aviation Airlines

Individual software project assessing learning outcomes 1, 2 and 3

8 Pages1302 Words148 Views
   

Added on  2023-06-10

About This Document

This article discusses Object Oriented Programming and its features in Aviation Airlines. It explains how it is used to design and develop entity based problems. The article also includes code examples and a project reflection.

Object Oriented Programming in Aviation Airlines

Individual software project assessing learning outcomes 1, 2 and 3

   Added on 2023-06-10

ShareRelated Documents
Running head: AVIATION AIRLINES
Aviation Airlines Task-B
Name of the Student:
Name of the University:
Author note:
Object Oriented Programming in Aviation Airlines_1
2
AVIATION AIRLINES
Object Oriented Programming
Object Oriented Programming is one of the most widely used programming concept in
the modern software development industry. Through the use of object oriented programming
concepts, programmers are able to better instantiate real life instances through their programs.
Earlier, programs used to be written using the procedural programming concepts where the user
got to feed data to the system and the computer used to simply process that data and produce the
output. The User needs to be aware of the compiler’s procedures in building the program.
However, object oriented programming brings an improved state of problem solving
understandability to the table (Zakas 2015).
Instead of just falling through the codes and the occasional method calls, object oriented
programming takes a more different approach than the traditional procedural programming
languages. As indicative of the term itself, object oriented programming pressurizes more on the
use of classes and objects in solving more real life programming problems. The basic most
important features of Object Oriented Programming are as follows:
Classes and Objects: A class can be defined as a prototype or blueprint for a set of
objects. The classes are meant to consist of the list of all data members and member
methods that the objects are to behold. An object is however a real life instance of the
class. An object can inherit all the properties from the class and represent actual entities.
Several such object can be created from a particular class and each object can be given
varying characteristic features. The member variables or data members represent the
characteristics of an object whereas the methods depict the behaviors (Khethavath 2015).
Each object can interact with other objects or with the system by accessing the internal
Object Oriented Programming in Aviation Airlines_2
3
AVIATION AIRLINES
methods and performing various operations. It is said that the objects interact with each
other with the help of methods.
Inheritance: Inheritance is the object oriented programming concepts through which
objects of a class can inherit certain properties from another class. The inheriting lass is
known as a child class whereas the class that is providing them with these data are the
parent classes. This greatly helps the programmers in utilizing codes in different forms by
writing it only once. This code reusability feature reduces the space complexity of
programs and provides a faster software development process (Mezini 2013).
Polymorphism: Polymorphism is the ability of any entity to exhibit various forms. Here
in object oriented programming, the features of polymorphism are exhibited through the
use of methods, operators and constructors. Polymorphism is generally of two types
namely static polymorphism and dynamic polymorphism. Method or constructor
overloading is an example of static polymorphism, where different methods or
constructors can exist with the same name but different functionalities. This is achieved
through the use of a varying list of arguments. The compiler can identify and sets the
method calls according to the argument list and hence this type of polymorphism is
known as static polymorphism. Method overriding is on the other hand a dynamic
binding technique where the method calls are determined at runtime. Here methods can
exist with the same name and arguments in different classes that inherit from the same
parent class, however, when an instance of the child classes is used to call these methods,
the methods of the calling object’s respective classes are called (Castagna 2012).
Encapsulation and Abstraction: Encapsulation in object oriented programming is the
concept through which data and member methods are bundled together into a single unit
Object Oriented Programming in Aviation Airlines_3

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Object Oriented Programming with C#
|6
|690
|365

Assignment on Explaining Polymorphism
|11
|1647
|313

OBJECT ORIENTED PROGRAMMING.
|5
|369
|484

ICTPRG527 Apply Intermediate Object-Oriented Language Skills
|8
|1494
|69

Java Programming
|4
|710
|381

Comparative Programming Language Report 2022
|11
|2300
|16