oops concept in java | object oriented programming in javaCPD INDIA
object oriented programming is a key concept for the development of application in windows as well as web based application environment. oops concept maps real world through its concept of classes, objects, inheritance, polymorphism which help in making a robust application.
This presentation deals with pure object oriented concepts and defines basic principles of OOP's like Encapsulation , polymorphism , Inheritance and Abstraction.
oops concept in java | object oriented programming in javaCPD INDIA
object oriented programming is a key concept for the development of application in windows as well as web based application environment. oops concept maps real world through its concept of classes, objects, inheritance, polymorphism which help in making a robust application.
This presentation deals with pure object oriented concepts and defines basic principles of OOP's like Encapsulation , polymorphism , Inheritance and Abstraction.
This Powerpoint presentation covers following topics of C Plus Plus:
Features of OOP
Classes in C++
Objects & Creating the Objects
Constructors & Destructors
Friend Functions & Classes
Static data members & functions
Deadlocks-An Unconditional Waiting Situation in Operating System. We must make sure of This concept well before understanding deep in to Operating System. This PPT will understands you to get how the deadlocks Occur and how can we Detect, avoid and Prevent the deadlocks in Operating Systems.
An overview of object oriented programming including the differences between OOP and the traditional structural approach, definitions of class and objects, and an easy coding example in C++. This presentation includes visual aids to make the concepts easier to understand.
This Powerpoint presentation covers following topics of C Plus Plus:
Features of OOP
Classes in C++
Objects & Creating the Objects
Constructors & Destructors
Friend Functions & Classes
Static data members & functions
Deadlocks-An Unconditional Waiting Situation in Operating System. We must make sure of This concept well before understanding deep in to Operating System. This PPT will understands you to get how the deadlocks Occur and how can we Detect, avoid and Prevent the deadlocks in Operating Systems.
An overview of object oriented programming including the differences between OOP and the traditional structural approach, definitions of class and objects, and an easy coding example in C++. This presentation includes visual aids to make the concepts easier to understand.
Presented by: N.V.RajaSekhar Reddy
www.technolamp.co.in
Want more interesting...
Watch and Like us @ https://www.facebook.com/Technolamp.co.in
subscribe videos @ http://www.youtube.com/user/nvrajasekhar
What is Object-Oriented Programming?
The OOP programming approach is based on fundamental concepts of class and object.
OOP allows decomposition of a problem into a number of entities called objects and then builds data and functions around these objects.
There are many object-oriented programming languages including JavaScript, C++, Java, and Python.
It is programming style which is associated with concepts of class and object and various other concepts like:
Inheritance
polymorphism
abstraction
Encapsulation etc
Program are divided into small modules known as classes.
Function and data are tied together in an object.
In which we see how an agent can find a sequence of actions that achieves its goals, when no single action will do.
The method of solving problem through AI involves the process of defining the search space, deciding start and goal states and then finding the path from start state to goal state through search space.
State space search is a process used in the field of computer science, including artificial intelligence(AI), in which successive configurations or states of an instance are considered, with the goal of finding a goal state with a desired property.
An agent is anything that can be viewed as perceiving its environment through sensors and acting upon that environment through actuators
Operates in an environment
Perceive its environment through sensors
Acts upon its environment through actuators/ effectors
Has Goals
Introduction to AI for Nonprofits with Tapp NetworkTechSoup
Dive into the world of AI! Experts Jon Hill and Tareq Monaur will guide you through AI's role in enhancing nonprofit websites and basic marketing strategies, making it easy to understand and apply.
Francesca Gottschalk - How can education support child empowerment.pptxEduSkills OECD
Francesca Gottschalk from the OECD’s Centre for Educational Research and Innovation presents at the Ask an Expert Webinar: How can education support child empowerment?
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
A Strategic Approach: GenAI in EducationPeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
This presentation provides a briefing on how to upload submissions and documents in Google Classroom. It was prepared as part of an orientation for new Sainik School in-service teacher trainees. As a training officer, my goal is to ensure that you are comfortable and proficient with this essential tool for managing assignments and fostering student engagement.
4. Why Do We Need Object‐Oriented Programming?
• Object Oriented Programming was developed because
limitations were discovered in earlier approaches to
programming.
• To appreciate what OOP does, we need to understand
what these limitations are and how they arose from
traditional programming languages.
6. POP Vs. OOP
Procedure Oriented Programming Object Oriented Programming
• In OOP, program is divided into parts called
objects.
• OOP has access specifiers named Public, Private,
Protected, etc.
• OOP provides Data Hiding so provides more
security.
• In OOP, overloading is possible in the form of
Function Overloading and Operator Overloading.
• In OOP, data can not move easily from function to
function, it can be kept public or private so we can
control the access of data.
• Example of OOP are : C++, JAVA, VB.NET,
C#.NET.
• In POP, program is divided into small parts called
functions.
• POP does not have any access specifier.
• POP does not have any proper way for hiding data
so it is less secure.
• In POP, Overloading is not possible.
• In POP, Most function uses Global data for sharing
that can be accessed freely from function to
function in the system.
• Example of POP are : C, VB, FORTRAN, Pascal.
8. • Code Reuse and Recycling: Objects created for Object Oriented Programs can easily be
reused in other programs.
• Design Benefits: Large programs are very difficult to write. Object Oriented Programs
force designers to go through an extensive planning phase, which makes for better designs
with less flaws. In addition, once a program reaches a certain size, Object Oriented
Programs are actually easier to program than non-Object Oriented ones.
• Software Maintenance: Programs are not disposable. Legacy code must be dealt with on
a daily basis, either to be improved upon (for a new version of an exist piece of software)
or made to work with newer computers and software. An Object Oriented Program is much
easier to modify and maintain than a non-Object Oriented Program. So although a lot of
work is spent before the program is written, less work is needed to maintain it over time.
• Simplicity
9. Binding
Binding
• Binding means link between
procedure call and code to be
executed.
• When a method call is resolved
at compile time, it is known
as STATIC BINDING.
• While if method invocation is
resolved at runtime, it is known
as DYNAMIC BINDING OR LATE
BINDING.
10. Continue…
Because of polymorphism, a reference variable of type Parent can hold an object of type
Child, which extends Parent. Now if you call a virtual method (not private, final or static) on
this object, then Compiler can not find actual method, because it could be the one, which is
defined in Parent class, or the one which Child has overridden. This call can only be resolved
at runtime, when actual object is available. That's why this is known as RUNTIME OR
DYNAMIC BINDING.
On the hand, private, static and final methods are resolved at compile time, because compiler
knows that they can't be overridden and only possible methods are those, which are defined
inside a class, whose reference variable is used to call this method. This is known as STATIC
OR COMPILE TIME BINDING, all private, static and final methods are resolved using static
binding.
11. Continue…
This concept is also closely related to method overloading and method overriding. As
dynamic binding happens when method overriding is possibility and overloaded method
calls are resolved at compile time, because they are always defined in same class.
12. • Class
• Class is a Blueprint for an Object.
• Object
• Object is instance of class or it is
created from class.
Attribute Behavior
Name Walk
Weight Run
Height Talk
Age Speak
Gender Sleep
P
R
O
P
E
R
T
I
E
S
M
E
T
H
O
D
S
16. OOP Features
• Encapsulation
• Encapsulation is the mechanism binds code and data together, and keeps both safe
from outside interference and misuse.
• Encapsulation is protective cover that prevents the code and data from being accessed
by other code defined outside.
• The process of wrapping up of data (properties) and behavior (methods) of an object
into single unit. In plain English means to be enclosed in or as if in a capsule.
• Advantages
• The fields of a class can be made read-only or write-only.
• A class can have total control over what is stored in its fields.
• The user doesn’t know how the class stores data.
17. Continue…
Class encapsulation
{
public void method1()
{
int i=0; //variable
String Name=“Variable”;
//variable
}
public void method2()
{
int i=0; //variable
String Name=“Variable”;
//variable
}
}
18. Continue…
• Inheritance
• Inheritance is the method creating the new class based on already existing class.
• The new desired class is called subclass or child class. The existing class is called parent
class or super class or base class.
• Inheritance is the process by which one object acquires the properties of another object.
• Example;
20. Continue…
• Polymorphism
• Ability to change form is known as Polymorphism.
• Polymorphism means “many forms”.
• Method overloading, method overriding, interfaces are the example of
Polymorphism.
• Example:
21. • Overloading
• The same method name (method overloading) or operator
symbol (operator overloading) can be used in different contents.
• In method overloading, multiple methods having same name can
appear in a class, but with different signature.
• Java does not allow operator overloading yet + is overloaded for
class string. The ‘+’ operator can be used for addition as well as
string concatenation.
• Example:
• Add a1=new Add();
• Add a2=new Add(1,2);
• Add a3=new Add(1,2,3);
23. Continue…
• Abstraction
• Abstraction specifies necessary and sufficient descriptions rather than
implementation details.
• Abstraction is an essential element of Object Oriented Programming. Through
abstraction we can manage complexity.
• Abstraction means hiding the unnecessary data from users. Abstraction defines only
the essential characteristics of an object.
25. Summary of Object Oriented Programming Concepts
• Everything is an Object.
• Computation is performed by objects communicating with each other, requesting
that other objects perform actions.
• Each object has its own memory, which consist of other objects.
• Every object is an Instance of a class. A class simply represents a grouping of
similar objects, such as integers or lists.
• The class is the responsible for behaviour associated with an object. That is, all
objects that are instance of the same class can perform the same action.
• Classes are organized into a singly rooted tree structure, called the Inheritance
hierarchy.