This document discusses key concepts in object-oriented programming (OOP) including what OOP is, the differences between procedural and object-oriented programming, advantages of OOP, what objects and classes are, and core OOP concepts in Java like abstraction, encapsulation, inheritance, and polymorphism. It provides definitions and examples to explain each concept.
Std 12 computer chapter 6 object oriented concepts (part 1) by Nuzhat Memon
Introduction to class and object
Procedural (Structural) programming language
Object Oriented programming language
Two ways of programming language (POP and OOP)
four specific object properties
4 pillars of OOPs
Encapsulation in Java
Abstraction in Java
Messaging in Java
Polymorphism in Java
Introduction to Object Oriented ProgrammingMoutaz Haddara
An Introduction to Object-Oriented Programming (OOP)
Download the presentation to view it correctly, as it has some animations that won't show here.
If you have any questions, please contact me. You are free to use it this presentation, but it would be nice at least to give me some credit :)
Content:
1- History of Programming
2. Objects and Classes
3- Abstraction, Inheritance, Encapsulation, and Polymorphism
Std 12 computer chapter 6 object oriented concepts (part 1) by Nuzhat Memon
Introduction to class and object
Procedural (Structural) programming language
Object Oriented programming language
Two ways of programming language (POP and OOP)
four specific object properties
4 pillars of OOPs
Encapsulation in Java
Abstraction in Java
Messaging in Java
Polymorphism in Java
Introduction to Object Oriented ProgrammingMoutaz Haddara
An Introduction to Object-Oriented Programming (OOP)
Download the presentation to view it correctly, as it has some animations that won't show here.
If you have any questions, please contact me. You are free to use it this presentation, but it would be nice at least to give me some credit :)
Content:
1- History of Programming
2. Objects and Classes
3- Abstraction, Inheritance, Encapsulation, and Polymorphism
Abstract: This PDSG workshop covers the basics of OOP programming in Python. Concepts covered are class, object, scope, method overloading and inheritance.
Level: Fundamental
Requirements: One should have some knowledge of programming.
On this Presentation, we will learn about the basics of OOPs. Object-Oriented Programming is a paradigm that provides many concepts, such as inheritance, data binding, polymorphism, etc.
Simula is considered the first object-oriented programming language. The programming paradigm where everything is represented as an object is known as a truly object-oriented programming language.
Smalltalk is considered the first truly object-oriented programming language.
Object Oriented Programming For Engineering Students as well as for B.Tech -IT. Covers Almost All From The Basics.
For more:
Google Search:: Prabhaharan Ellaiyan
Abstract: This PDSG workshop covers the basics of OOP programming in Python. Concepts covered are class, object, scope, method overloading and inheritance.
Level: Fundamental
Requirements: One should have some knowledge of programming.
On this Presentation, we will learn about the basics of OOPs. Object-Oriented Programming is a paradigm that provides many concepts, such as inheritance, data binding, polymorphism, etc.
Simula is considered the first object-oriented programming language. The programming paradigm where everything is represented as an object is known as a truly object-oriented programming language.
Smalltalk is considered the first truly object-oriented programming language.
Object Oriented Programming For Engineering Students as well as for B.Tech -IT. Covers Almost All From The Basics.
For more:
Google Search:: Prabhaharan Ellaiyan
this slides describe similarities and difference between object based programming and object oriented programming
Class and Object.
Object- oriented Programming
Object based Programming
Object based vs. object-oriented programming
Intro to JAVA
Basics of Oops
Features of Oops
Applications of Oops
How to create a JAVA program
How to Edit a Java Program
Compiling a Java program
Java Class file
Run or Executing a Java program
Command line arguments
Procedural Vs Object Oriented Programming
Procedural Programming
Can be defined as a programming model which is derived from structured programming,
based upon the concept of calling procedure. In these models, a programmer uses procedures
or functions to perform a task.
Languages used in Procedural Programming: C , Pascal , Fortan etc.
Object Oriented Programming can be defined as a programming model which is based
upon the concept of objects. Objects contain data in the form of attributes and code in the
form of methods. OOP concept uses variables and methods as procedural programs do, but it
focuses on the objects that contain variables and methods
Languages used in Object Oriented Programming:
Java, C++, C#, Python , Ruby
09/08/2022 3
Object-Oriented Programming (OOP)
Object Oriented programming (OOP) is a programming paradigm that relies on the
concept of classes and objects. It is used to structure a software program into simple,
reusable pieces of code blueprints (usually called classes), which are used to create individual
instances of objects.
It is a programming paradigm that structures a software program according to objects.
Simply put, it creates objects that contain functions and data. This paradigm relies
greatly on the concept of classes and objects.
The main aim of OOP is to bind together the data and the functions that operate on them so
that no other part of the code can access this data except that function.
09/08/2022 4
Object And Class
Class:A class is basically user-defined data types that act as a
template for creating objects of the identical type. It represents
the common properties and actions (functions) of an object.
Object: A real-world entity that has state and behavior. Here,
state represents properties and behavior represents actions and
functionality. For example, a person, chair, pen, table, etc
Object takes space in the memory but
class does not take any space in the
memory. Class does not exist physically
but an object exists physically.
09/08/2022 5
OOP Principles
Encapsulation: the attributes of an entity are enclosed in itself. In other words, encapsulation
is when an object (inside a class) keeps its state private and only exposes the selected
information.This principle requires the ability to define some fields as either private or public.
Abstraction: hide important information in order to reduce complexity. It is when the user
only interacts with specific object’s methods and/or attributes. By hiding complex details from
the user, abstraction consequently reduces complexity.
09/08/2022 6
OOP Principles
Inheritance: as the name indicates, an entity can inherit attributes from other entities. More
precisely, parent classes can extend their attributes and behaviors to child classes, which also
means that this principle supports reusability.
Polymorphism: entities can have more than one form. Hence the ‘poly’. In sum,
polymorphism is when objects are designed to share behaviors. By overriding
A Comprehensive Look at Generative AI in Retail App Testing.pdfkalichargn70th171
Traditional software testing methods are being challenged in retail, where customer expectations and technological advancements continually shape the landscape. Enter generative AI—a transformative subset of artificial intelligence technologies poised to revolutionize software testing.
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?XfilesPro
Worried about document security while sharing them in Salesforce? Fret no more! Here are the top-notch security standards XfilesPro upholds to ensure strong security for your Salesforce documents while sharing with internal or external people.
To learn more, read the blog: https://www.xfilespro.com/how-does-xfilespro-make-document-sharing-secure-and-seamless-in-salesforce/
Strategies for Successful Data Migration Tools.pptxvarshanayak241
Data migration is a complex but essential task for organizations aiming to modernize their IT infrastructure and leverage new technologies. By understanding common challenges and implementing these strategies, businesses can achieve a successful migration with minimal disruption. Data Migration Tool like Ask On Data play a pivotal role in this journey, offering features that streamline the process, ensure data integrity, and maintain security. With the right approach and tools, organizations can turn the challenge of data migration into an opportunity for growth and innovation.
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Globus
The U.S. Geological Survey (USGS) has made substantial investments in meeting evolving scientific, technical, and policy driven demands on storing, managing, and delivering data. As these demands continue to grow in complexity and scale, the USGS must continue to explore innovative solutions to improve its management, curation, sharing, delivering, and preservation approaches for large-scale research data. Supporting these needs, the USGS has partnered with the University of Chicago-Globus to research and develop advanced repository components and workflows leveraging its current investment in Globus. The primary outcome of this partnership includes the development of a prototype enterprise repository, driven by USGS Data Release requirements, through exploration and implementation of the entire suite of the Globus platform offerings, including Globus Flow, Globus Auth, Globus Transfer, and Globus Search. This presentation will provide insights into this research partnership, introduce the unique requirements and challenges being addressed and provide relevant project progress.
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus
As part of the DOE Integrated Research Infrastructure (IRI) program, NERSC at Lawrence Berkeley National Lab and ALCF at Argonne National Lab are working closely with General Atomics on accelerating the computing requirements of the DIII-D experiment. As part of the work the team is investigating ways to speedup the time to solution for many different parts of the DIII-D workflow including how they run jobs on HPC systems. One of these routes is looking at Globus Compute as a way to replace the current method for managing tasks and we describe a brief proof of concept showing how Globus Compute could help to schedule jobs and be a tool to connect compute at different facilities.
Check out the webinar slides to learn more about how XfilesPro transforms Salesforce document management by leveraging its world-class applications. For more details, please connect with sales@xfilespro.com
If you want to watch the on-demand webinar, please click here: https://www.xfilespro.com/webinars/salesforce-document-management-2-0-smarter-faster-better/
Code reviews are vital for ensuring good code quality. They serve as one of our last lines of defense against bugs and subpar code reaching production.
Yet, they often turn into annoying tasks riddled with frustration, hostility, unclear feedback and lack of standards. How can we improve this crucial process?
In this session we will cover:
- The Art of Effective Code Reviews
- Streamlining the Review Process
- Elevating Reviews with Automated Tools
By the end of this presentation, you'll have the knowledge on how to organize and improve your code review proces
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Anthony Dahanne
Les Buildpacks existent depuis plus de 10 ans ! D’abord, ils étaient utilisés pour détecter et construire une application avant de la déployer sur certains PaaS. Ensuite, nous avons pu créer des images Docker (OCI) avec leur dernière génération, les Cloud Native Buildpacks (CNCF en incubation). Sont-ils une bonne alternative au Dockerfile ? Que sont les buildpacks Paketo ? Quelles communautés les soutiennent et comment ?
Venez le découvrir lors de cette session ignite
Developing Distributed High-performance Computing Capabilities of an Open Sci...Globus
COVID-19 had an unprecedented impact on scientific collaboration. The pandemic and its broad response from the scientific community has forged new relationships among public health practitioners, mathematical modelers, and scientific computing specialists, while revealing critical gaps in exploiting advanced computing systems to support urgent decision making. Informed by our team’s work in applying high-performance computing in support of public health decision makers during the COVID-19 pandemic, we present how Globus technologies are enabling the development of an open science platform for robust epidemic analysis, with the goal of collaborative, secure, distributed, on-demand, and fast time-to-solution analyses to support public health.
Unleash Unlimited Potential with One-Time Purchase
BoxLang is more than just a language; it's a community. By choosing a Visionary License, you're not just investing in your success, you're actively contributing to the ongoing development and support of BoxLang.
Modern design is crucial in today's digital environment, and this is especially true for SharePoint intranets. The design of these digital hubs is critical to user engagement and productivity enhancement. They are the cornerstone of internal collaboration and interaction within enterprises.
Software Engineering, Software Consulting, Tech Lead.
Spring Boot, Spring Cloud, Spring Core, Spring JDBC, Spring Security,
Spring Transaction, Spring MVC,
Log4j, REST/SOAP WEB-SERVICES.
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...Juraj Vysvader
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I didn't get rich from it but it did have 63K downloads (powered possible tens of thousands of websites).
Advanced Flow Concepts Every Developer Should KnowPeter Caitens
Tim Combridge from Sensible Giraffe and Salesforce Ben presents some important tips that all developers should know when dealing with Flows in Salesforce.
Globus Connect Server Deep Dive - GlobusWorld 2024Globus
We explore the Globus Connect Server (GCS) architecture and experiment with advanced configuration options and use cases. This content is targeted at system administrators who are familiar with GCS and currently operate—or are planning to operate—broader deployments at their institution.
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
Ah java-ppt2
1. Dr. A. Haja Abdul Khader
Assistant Professor of Computer Science
11-08-2020
1
2. What is OOP
Object-oriented programming System(OOPs) is
a programming paradigm based on the
concept of “objects” that contain data and
methods.
The primary purpose of object-oriented
programming is to increase the flexibility and
maintainability of programs
Object oriented programming brings together
data and its behaviour(methods) in a single
location(object) makes it easier to understand
how a program works.
11-08-2020
2
3. Difference Between POP and OOP
11-08-2020
3
Procedural Oriented Programming Object Oriented Programming
In procedural programming, program is
divided into small parts called functions.
In object oriented programming,
program is divided into small parts
called objects.
Procedural programming follows top
down approach.
Object oriented programming follows
bottom up approach.
There is no access specifier in
procedural programming.
Object oriented programming have
access specifiers like private, public,
protected etc.
Adding new data and function is not
easy.
Adding new data and function is easy.
4. Difference Between POP and OOP
11-08-2020
4
Procedural Oriented Programming Object Oriented Programming
Procedural programming does not
have any proper way for hiding data
so it is less secure.
Object oriented programming
provides data hiding so it is more
secure.
In procedural programming,
overloading is not possible.
Overloading is possible in object
oriented programming.
In procedural programming, function
is more important than data.
In object oriented programming, data
is more important than function.
5. Difference Between POP and OOP
11-08-2020
5
Procedural Oriented Programming Object Oriented Programming
Procedural programming is based on
unreal world.
Object oriented programming is
based on real world.
Examples: C, FORTRAN, Pascal, Basic
etc.
Examples: C++, Java, Python, C# etc.
6. Advantages of OOP
1) OOPs makes development and maintenance
easier, whereas, in a procedure-oriented
programming language, it is not easy to
manage if code grows as project size increases.
2) OOPs provides data hiding, whereas, in a
procedure-oriented programming language,
global data can be accessed from anywhere.
11-08-2020
6
7. Advantages of OOP
3) OOPs provides the ability to simulate real-
world event much more effectively. We can
provide the solution of real word problem if we
are using the Object-Oriented Programming
language.
11-08-2020
7
8. What is an Object
Any entity that has state and behavior is known
as an object. For example, a chair, pen, table,
keyboard, bike, etc. It can be physical or
logical.
An Object can be defined as an instance of a
class. An object contains an address and takes
up some space in memory.
11-08-2020
8
9. What is an Object
Objects can communicate without knowing the
details of each other's data or code.
The only necessary thing is the type of message
accepted and the type of response returned by
the objects.
Example: A dog is an object because it has
states like color, name, breed, etc. as well as
behaviors like wagging the tail, barking, eating,
etc.
11-08-2020
9
11. What is Class
A collection of objects is called a class.
It is a logical entity.
A class can also be defined as a blueprint from
which you can create an individual object.
Class doesn't consume any space
11-08-2020
11
12. OOP Concepts in Java
There are four main OOP concepts in Java.
These are:
Abstraction
Encapsulation
Inheritance
Polymorphism
11-08-2020
12
13. Abstraction
Hiding internal details and showing functionality
is known as abstraction.
Abstraction means using simple things to
represent complexity.
We all know how to turn the TV on, but we don’t
need to know how it works in order to enjoy it.
11-08-2020
13
14. Abstraction
In Java, abstraction means simple things like
objects, classes, and variables represent more
complex underlying code and data.
This is important because it lets avoid repeating
the same work multiple times.
11-08-2020
14
15. How Abstraction Works
Abstraction as an OOP concept in Java works
by letting programmers create useful, reusable
tools.
For example, a programmer can create several
different types of objects. These can be
variables, functions, or data structures.
Programmers can also create different classes
of objects. These are ways to define the objects.
11-08-2020
15
16. Encapsulation
Binding (or wrapping) code and data together
into a single unit are known as encapsulation.
For example, a capsule, it is wrapped with
different medicines.
11-08-2020
16
17. Encapsulation
This is the practice of keeping fields within a
class private, then providing access to them via
public methods.
It’s a protective barrier that keeps the data and
code safe within the class itself.
This way, we can re-use objects like code
components or variables without allowing open
access to the data system-wide.
11-08-2020
17
18. How Encapsulation Works
This is the practice of keeping fields within a
class private, then providing access to them via
public methods.
It’s a protective barrier that keeps the data and
code safe within the class itself.
This way, we can re-use objects like code
components or variables without allowing open
access to the data system-wide.
11-08-2020
18
19. How Encapsulation Works
Encapsulation lets us re-use functionality without
jeopardizing security.
It’s a powerful OOP concept in Java because it
helps us save a lot of time.
For example, we may create a piece of code
that calls specific data from a database.
11-08-2020
19
20. How Encapsulation Works
It may be useful to reuse that code with other
databases or processes.
Encapsulation lets us do that while keeping our
original data private.
It also lets us alter our original code without
breaking it for others who have adopted it in the
meantime.
11-08-2020
20
21. Inheritance
The process by which one class acquires the
properties and functionalities of another class is
called inheritance.
Inheritance provides the idea of reusability of
code and each sub class defines only those
features that are unique to it, rest of the features
can be inherited from the parent class.
11-08-2020
21
22. Inheritance
The process by which one class acquires the
properties and functionalities of another class is
called inheritance.
Inheritance provides the idea of reusability of
code and each sub class defines only those
features that are unique to it, rest of the features
can be inherited from the parent class.
11-08-2020
22
23. Inheritance
Inheritance is a process of defining a new class
based on an existing class by extending its
common data members and methods.
Inheritance allows us to reuse of code, it
improves reusability in your java application.
The parent class is called the base class or super
class. The child class that extends the base class
is called the derived class or sub class or child
class.
11-08-2020
23
24. How Inheritance Works
Inheritance is another labor-saving Java OOP
concept.
It works by letting a new class adopt the
properties of another.
We call the inheriting class a subclass or a child
class.
The original class is often called the parent.
We use the keyword extends to define a new
class that inherits properties from an old class.
11-08-2020
24
25. Polymorphism
If one task is performed in different ways, it is
known as polymorphism.
For example: to convince the customer
differently, to draw something, for example,
shape, triangle, rectangle, etc.
There are two kinds of polymorphism:
1. Static (Compile-time)
2. Dynamic( Run-time)
11-08-2020
25
26. Polymorphism
This Java OOP concept lets programmers use
the same word to mean different things in
different contexts.
One form of polymorphism in Java is method
overloading
That’s when different meanings are implied by
the code itself. The other form is method
overriding.
That’s when the different meanings are implied
by the values of the supplied variables. 11-08-2020
26
27. How Polymorphism Works
Polymorphism in Java works by using a
reference to a parent class to affect an object
in the child class.
We might create a class called “horse” by
extending the “animal” class. That class might
also implement the “professional racing” class.
The “horse” class is “polymorphic,” since it
inherits attributes of both the “animal” and
“professional racing” class.
11-08-2020
27