Object-Oriented Programming: Exploring Core Concepts and Principles
VerifiedAdded on 2020/05/16
|10
|2307
|142
Report
AI Summary
This report provides a detailed overview of Object-Oriented Programming (OOP). It starts by introducing different programming paradigms, including procedural, event-driven, and object-oriented programming. The report then focuses on OOP, explaining key concepts like objects, classes, data abstraction, modularity, class methods, message passing, inheritance, encapsulation, and polymorphism. It also explores the pros and cons of each programming approach, highlighting the advantages of OOP in terms of code reusability, modularity, and flexibility. Examples are provided to illustrate how classes and objects are grouped together and how the OOP principles are applied. The report emphasizes the importance of inheritance and encapsulation in creating efficient and maintainable code. Finally, it discusses the benefits of inheritance, encapsulation, and polymorphism, showcasing their roles in enhancing code structure and functionality. This report is a great resource for understanding OOP fundamentals and its practical applications.

Running head: OBJECT ORIENTED PROGRAMMING
Object oriented programming
Name of the student
Name of the university
Author note
Object oriented programming
Name of the student
Name of the university
Author note
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

1OBJECT ORIENTED PROGRAMMING
Slide 1
Over the years there are different types of programming that has been developed. This
has occurred gradually over the passing years. It has been observed that there are three
categories that can help in the development of efficient, new and some error-free
programming languages. The three categories of programming are, procedural, event-driven
and object-oriented.
Spine: It has been observed that throughout the year there is wide range of programming that
has been created. Each dialect of programming can be categorized as one of the three
paradigms of programming. Apart from this it has been observed that they are driven by
event, they are object-oriented and they are procedural. The three classifications has been
found to bring out the development of efficient programming languages, it supports the
development of new programming.
Procedural -programming
Subroutines or routines are an important part of procedural programming. The
procedural programming relays on the procedures. It includes different stages of step by step
instructions in order to guide the computer to do the task. The steps begin from the top and it
continues till the end. This is alluded additionally as imperative programming. It is found to
be recognized from the name of top to down languages. It is one of the popular programming
paradigms.
Event driven programming
The driven programs basically used with Graphic User Interface (GUI) operating
system. However this is a matter of fact that the flow of the program is determined by the
Slide 1
Over the years there are different types of programming that has been developed. This
has occurred gradually over the passing years. It has been observed that there are three
categories that can help in the development of efficient, new and some error-free
programming languages. The three categories of programming are, procedural, event-driven
and object-oriented.
Spine: It has been observed that throughout the year there is wide range of programming that
has been created. Each dialect of programming can be categorized as one of the three
paradigms of programming. Apart from this it has been observed that they are driven by
event, they are object-oriented and they are procedural. The three classifications has been
found to bring out the development of efficient programming languages, it supports the
development of new programming.
Procedural -programming
Subroutines or routines are an important part of procedural programming. The
procedural programming relays on the procedures. It includes different stages of step by step
instructions in order to guide the computer to do the task. The steps begin from the top and it
continues till the end. This is alluded additionally as imperative programming. It is found to
be recognized from the name of top to down languages. It is one of the popular programming
paradigms.
Event driven programming
The driven programs basically used with Graphic User Interface (GUI) operating
system. However this is a matter of fact that the flow of the program is determined by the

2OBJECT ORIENTED PROGRAMMING
events. This can be well understood with the help of an example. The example states the
instance where a user clicks mouse button or a key is pressed. The applications related to the
event driven were used in the database, spreadsheet, word process and drawing package. It
has been observed that in the present world the use of EDP has been observed in large scale.
The use of it has expanded and occupied a major position in the present world. The
applications are all event driven. To add up to this it can be mentioned that Forms and GUIs
and EDP methods are also used to deploy in scenarios.
Object oriented programming (OOP)
The use of the objects is proved to model the object oriented language. The object has
two main parts that is data and functions. The only way to distinguish between the data and
the method completely depends upon the members. For example, an animal is having size
and color that belongs to the category of data. On the other hand the noise and the eating
habit of the animal fall under the category of methods.
The pros and cones of the procedural programming
The procedural programming can be used for the purpose of normal programming.
The reason for this is it is easy to keep up the code in light as well as it is easy to maintain the
methodology. The other reason is that the procedure can be fixed in segregation. While there
are instances when the code there are chances to get harder in order to make some amount of
modifications to the code as well as while reading it. There is a concept that prevails where it
can be commented that there is a condition where it can get harder to make modifications to
the codes. It is difficult to read as well. It is difficult while reading as well. In case a
programmer changes the entire code while making adjustment in a small section of code. In
case of applying code from a program to an alternate it would be a troublesome matter.
events. This can be well understood with the help of an example. The example states the
instance where a user clicks mouse button or a key is pressed. The applications related to the
event driven were used in the database, spreadsheet, word process and drawing package. It
has been observed that in the present world the use of EDP has been observed in large scale.
The use of it has expanded and occupied a major position in the present world. The
applications are all event driven. To add up to this it can be mentioned that Forms and GUIs
and EDP methods are also used to deploy in scenarios.
Object oriented programming (OOP)
The use of the objects is proved to model the object oriented language. The object has
two main parts that is data and functions. The only way to distinguish between the data and
the method completely depends upon the members. For example, an animal is having size
and color that belongs to the category of data. On the other hand the noise and the eating
habit of the animal fall under the category of methods.
The pros and cones of the procedural programming
The procedural programming can be used for the purpose of normal programming.
The reason for this is it is easy to keep up the code in light as well as it is easy to maintain the
methodology. The other reason is that the procedure can be fixed in segregation. While there
are instances when the code there are chances to get harder in order to make some amount of
modifications to the code as well as while reading it. There is a concept that prevails where it
can be commented that there is a condition where it can get harder to make modifications to
the codes. It is difficult to read as well. It is difficult while reading as well. In case a
programmer changes the entire code while making adjustment in a small section of code. In
case of applying code from a program to an alternate it would be a troublesome matter.
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

3OBJECT ORIENTED PROGRAMMING
The pros and cones of Event driven program (EDP)
The program is considered to be more interactive and this is the best and positive part
about the program. It established a relation of cooperation between the hardware and the
software. This is done effortlessly along with input using the interruptions of the hardware.
Along with the positive sides it has negative shades as well. The Event Driven
programming is not an option that is feasible in case of creating simple programs. The reason
for this is it would be harder to manage the program. The flow of the code is harder to
extract.
The pros and cones of object oriented programming
In case of making tiny modifications the OOP is advantageous. The reason for this is
it is not complex in data. The objects can be maintained independently in this case by
enabling the issues to sort quickly. The object can be utilized multiple times on other
programs.
The pitfall of this programming language is that it is not apt for the simple programs.
There is a need to rectify this and it must be sorted out in an appropriate manner.
Unit 15 P1 Key feature of OOP
Objects and Classes
All the objects are different from one another. The reason behind this is the distinctive
feature and conducts possessed by them. There is a need to assemble the objects in order to
organize those in an easier way. The state of the object is appeared in programming from the
methods. In order to get the desired outcome it is necessary to utilize the objects and a
modification of the technique is required as well. It is advisable for the device to use
The pros and cones of Event driven program (EDP)
The program is considered to be more interactive and this is the best and positive part
about the program. It established a relation of cooperation between the hardware and the
software. This is done effortlessly along with input using the interruptions of the hardware.
Along with the positive sides it has negative shades as well. The Event Driven
programming is not an option that is feasible in case of creating simple programs. The reason
for this is it would be harder to manage the program. The flow of the code is harder to
extract.
The pros and cones of object oriented programming
In case of making tiny modifications the OOP is advantageous. The reason for this is
it is not complex in data. The objects can be maintained independently in this case by
enabling the issues to sort quickly. The object can be utilized multiple times on other
programs.
The pitfall of this programming language is that it is not apt for the simple programs.
There is a need to rectify this and it must be sorted out in an appropriate manner.
Unit 15 P1 Key feature of OOP
Objects and Classes
All the objects are different from one another. The reason behind this is the distinctive
feature and conducts possessed by them. There is a need to assemble the objects in order to
organize those in an easier way. The state of the object is appeared in programming from the
methods. In order to get the desired outcome it is necessary to utilize the objects and a
modification of the technique is required as well. It is advisable for the device to use
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

4OBJECT ORIENTED PROGRAMMING
modified techniques in order to get their outcomes. In spite of this the object would use
diverse methods to achieve whatever result they desire to get.
Example of how classes and objects are grouped together.
public class Superman {
String type;
String colour;
Void laser () {
}
Void speed () {
}
In the above example code, the superman represents the class and the objects that are
displayed under the classes. It can be assumed that all these objects can be the features of the
superman. The point that can be highlighted in the above example is that the color, laser and
speed that have been used to portray the power of superman or it contain the features that are
different from each other.
Data abstraction
The data abstraction is one of the elements among the three essential values that is
used in the object oriented programming. It is used for the purpose of representing the data
with the gone unwanted data. It essentially simplifies the data and it hides away data that is
deemed unnecessarily. It can be the data abstraction to determine the classes that suits the
object and the fact that helps to improve the speed used while finding the files. The inclusion
modified techniques in order to get their outcomes. In spite of this the object would use
diverse methods to achieve whatever result they desire to get.
Example of how classes and objects are grouped together.
public class Superman {
String type;
String colour;
Void laser () {
}
Void speed () {
}
In the above example code, the superman represents the class and the objects that are
displayed under the classes. It can be assumed that all these objects can be the features of the
superman. The point that can be highlighted in the above example is that the color, laser and
speed that have been used to portray the power of superman or it contain the features that are
different from each other.
Data abstraction
The data abstraction is one of the elements among the three essential values that is
used in the object oriented programming. It is used for the purpose of representing the data
with the gone unwanted data. It essentially simplifies the data and it hides away data that is
deemed unnecessarily. It can be the data abstraction to determine the classes that suits the
object and the fact that helps to improve the speed used while finding the files. The inclusion

5OBJECT ORIENTED PROGRAMMING
of the data abstraction in a piece of program can relieve work in some areas for the
programmers. The registration steps are not obligatory in this areas and this include the
programming low-level-code.
Modularity in OOP
The modularity is producing modules and after that they are connecting them to form
system. The modularity is used in this way in the programming language. The forming of the
system contains the modules that are formulated with the purpose conveying the intention. It
also aids the design of OOP in order to locate as well as fix the issue which decreases the
progress of the program. There is a chance that this would include bugs and errors.
Class methods
The role of the class methods in OOP is to technique for the objects within the
specific class. In order to control and command the objects that are located in the class many
strategies can be used. When an object in the first place obtains and acquires an indication to
do the process in such case a procedure takes place.
In OOP, in order to be successful technique should always be included in the selection
of the class. The classes should include the objects that would do the methods of the project
for the completion.
Message passing in OOP
In OOP the message passing is known for the type of communication among the
objects and the processes. There are few factors that should be considered that is whether the
passing of the messages is asynchronous or synchronous. There are few factors that should be
considered like the delay of the messages that can be travelled from the sender or the
of the data abstraction in a piece of program can relieve work in some areas for the
programmers. The registration steps are not obligatory in this areas and this include the
programming low-level-code.
Modularity in OOP
The modularity is producing modules and after that they are connecting them to form
system. The modularity is used in this way in the programming language. The forming of the
system contains the modules that are formulated with the purpose conveying the intention. It
also aids the design of OOP in order to locate as well as fix the issue which decreases the
progress of the program. There is a chance that this would include bugs and errors.
Class methods
The role of the class methods in OOP is to technique for the objects within the
specific class. In order to control and command the objects that are located in the class many
strategies can be used. When an object in the first place obtains and acquires an indication to
do the process in such case a procedure takes place.
In OOP, in order to be successful technique should always be included in the selection
of the class. The classes should include the objects that would do the methods of the project
for the completion.
Message passing in OOP
In OOP the message passing is known for the type of communication among the
objects and the processes. There are few factors that should be considered that is whether the
passing of the messages is asynchronous or synchronous. There are few factors that should be
considered like the delay of the messages that can be travelled from the sender or the
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

6OBJECT ORIENTED PROGRAMMING
receiver. Asynchronous message traveling is when both the sender collectors do not have
hold waiting time. Hence, this can be declared that it can make the personal calculation
function while the message is being communicated. On the other hand the synchronous
contains the holding up of time and in this case both the sender and the collector will have a
waiting time.
Importance of heritance
The inheritance is a kind of sharing the utilized technique that is used for the program
in order to obtain the variables from another class. The coder is enabled to spare time by
including a comparative strategy from another class. This is the reason the programmer
would not have code in the same method as for the scratch. The utilization of the inheritance
would enable the program to take the properties of one class and would apply to another one.
The inheritance in OOP is utilized when new objects are introduced in the project.
After this the new objects are utilized as the part of the past. It has been observed that while
inheritance is utilized as a major part of the fundamental class in such case it can be classified
as a superclass. Apart from this while the class is classified as the subclass when it obtains the
properties from the superclass.
The reusability saves money as well as time and therefore it can be mentioned as an
imperative option. At the time while the programmer is found to code there are various tools
which enable the program to utilize similar code in case of another class in order to fill a
different need. Apart from those the spear cash and time makes the code dependable.
The code that has already composed and they are kept running without any issues that
would demonstrate the fact that there would not be any chance for any code to make error
while it is being utilized repeatedly for an alternate program.
receiver. Asynchronous message traveling is when both the sender collectors do not have
hold waiting time. Hence, this can be declared that it can make the personal calculation
function while the message is being communicated. On the other hand the synchronous
contains the holding up of time and in this case both the sender and the collector will have a
waiting time.
Importance of heritance
The inheritance is a kind of sharing the utilized technique that is used for the program
in order to obtain the variables from another class. The coder is enabled to spare time by
including a comparative strategy from another class. This is the reason the programmer
would not have code in the same method as for the scratch. The utilization of the inheritance
would enable the program to take the properties of one class and would apply to another one.
The inheritance in OOP is utilized when new objects are introduced in the project.
After this the new objects are utilized as the part of the past. It has been observed that while
inheritance is utilized as a major part of the fundamental class in such case it can be classified
as a superclass. Apart from this while the class is classified as the subclass when it obtains the
properties from the superclass.
The reusability saves money as well as time and therefore it can be mentioned as an
imperative option. At the time while the programmer is found to code there are various tools
which enable the program to utilize similar code in case of another class in order to fill a
different need. Apart from those the spear cash and time makes the code dependable.
The code that has already composed and they are kept running without any issues that
would demonstrate the fact that there would not be any chance for any code to make error
while it is being utilized repeatedly for an alternate program.
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

7OBJECT ORIENTED PROGRAMMING
Benefits of inheritance:
The subclasses are formed by a superclass that comprises all the elements within a
superclass. The inheritance permits the programmer to use the properties and it
permits to recycle the code in a superclass multiple times.
The inheritence is used to make the code flexible that can be able to adapt to the
change when it is required.
The data is kept private so that there is no chance of rehabilitation. The time is saved
for the development of code and allowing a faster workload.
Importance of encapsulation
One of the significant components of OOP is encapsulation, as it helps in effective
data hiding. Encapsulation is formed by combining the methods and the variables into a
single unit. Encapsulation can be retrieved by the applying methods in the current class. This
results in hiding of the current class variables from the other classes. Private recognition is
necessary for the encapsulation to take place.
This is important for hiding the data. This compiles the variables and the methods together
and makes a single unit. There are certain benefits of this:
1. Classes are made to read and write only
2. The classes are used in order to control the code that can be implemented within a specific
program.
3. The procedure is hidden from the class. There is no need for the users to alter the code.
Benefits of inheritance:
The subclasses are formed by a superclass that comprises all the elements within a
superclass. The inheritance permits the programmer to use the properties and it
permits to recycle the code in a superclass multiple times.
The inheritence is used to make the code flexible that can be able to adapt to the
change when it is required.
The data is kept private so that there is no chance of rehabilitation. The time is saved
for the development of code and allowing a faster workload.
Importance of encapsulation
One of the significant components of OOP is encapsulation, as it helps in effective
data hiding. Encapsulation is formed by combining the methods and the variables into a
single unit. Encapsulation can be retrieved by the applying methods in the current class. This
results in hiding of the current class variables from the other classes. Private recognition is
necessary for the encapsulation to take place.
This is important for hiding the data. This compiles the variables and the methods together
and makes a single unit. There are certain benefits of this:
1. Classes are made to read and write only
2. The classes are used in order to control the code that can be implemented within a specific
program.
3. The procedure is hidden from the class. There is no need for the users to alter the code.

8OBJECT ORIENTED PROGRAMMING
Importance of polymorphism
This is an object that can have the ability to produce many methods within the code. It
is used in order to implement the inheritance for the unlike classes. There are two different
perceptions that are used in polymorphism, One is method overloading and the other is
method overriding. The production of more than one method within a code is referred to as
polymorphism. As a result, the object can be tackled distinctively but is highly influenced by
the data type. Thus, polymorphism provides an opportunity to the users to perform diverse
things. The two types of polymorphism include method over riding and overloading.
Importance of polymorphism
This is an object that can have the ability to produce many methods within the code. It
is used in order to implement the inheritance for the unlike classes. There are two different
perceptions that are used in polymorphism, One is method overloading and the other is
method overriding. The production of more than one method within a code is referred to as
polymorphism. As a result, the object can be tackled distinctively but is highly influenced by
the data type. Thus, polymorphism provides an opportunity to the users to perform diverse
things. The two types of polymorphism include method over riding and overloading.
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

9OBJECT ORIENTED PROGRAMMING
References
Anderson, K. (2010). BTEC level 3 information technology. Harlow: Pearson Education.
Prezi.com. 2018. key features of an object oriented program. by mantosh singh on Prezi.
[ONLINE] Available at: https://prezi.com/r6b6fwqxj3zx/key-features-of-an-object-oriented-
program/. [Accessed 24 January 2018].
Study.com. 2018. Object-Oriented Programming vs. Procedural Programming - Video &
Lesson Transcript | Study.com. [ONLINE] Available at:
https://study.com/academy/lesson/object-oriented-programming-vs-procedural-
programming.html. [Accessed 23 January 2018].
Tutorialspoint.com. 2018. Java Object and Classes. [ONLINE] Available at:
https://www.tutorialspoint.com/java/java_object_classes.htm. [Accessed 23 January 2018].
-
References
Anderson, K. (2010). BTEC level 3 information technology. Harlow: Pearson Education.
Prezi.com. 2018. key features of an object oriented program. by mantosh singh on Prezi.
[ONLINE] Available at: https://prezi.com/r6b6fwqxj3zx/key-features-of-an-object-oriented-
program/. [Accessed 24 January 2018].
Study.com. 2018. Object-Oriented Programming vs. Procedural Programming - Video &
Lesson Transcript | Study.com. [ONLINE] Available at:
https://study.com/academy/lesson/object-oriented-programming-vs-procedural-
programming.html. [Accessed 23 January 2018].
Tutorialspoint.com. 2018. Java Object and Classes. [ONLINE] Available at:
https://www.tutorialspoint.com/java/java_object_classes.htm. [Accessed 23 January 2018].
-
1 out of 10
Related Documents
Your All-in-One AI-Powered Toolkit for Academic Success.
+13062052269
info@desklib.com
Available 24*7 on WhatsApp / Email
Unlock your academic potential
Copyright © 2020–2026 A2Z Services. All Rights Reserved. Developed and managed by ZUCOL.




