SlideShare a Scribd company logo
Ashoka R K T
@ashoka_rkt
Get this session’s stuff at http://c-smil.es/oopstalk
OOPs
codeSmiles.comblog:
What are we going to see?
• Object oriented thinking
• Object oriented programming
Object Oriented thinking
• What comes to your mind hearing the word
“Object”?
• Why do we need software?
– To manage things(objects)
• What is present in a software?
– Objects are present in Software
What are we going to see in OOP
• Classes
• Objects
• Properties and Fields
• Methods
• Interfaces
• And the variations of the above, but these are
the base
Classes
• What is “Class”
• Class means classification of objects
• ..that’s it
• We use classes to classify objects
Creating objects of a Class
• Employee emp = new Employee();
Objects
• We already discussed, so.. what are objects?
• We create objects using a class’ specification
Properties & Fields
Methods
Interfaces
• What is “Interface”
• Keep in mind Hardware Interface, User
Interface, etc
Constructors & Destructors
Access Modifiers
• Public - everywhere
• Private – same class
• Protected – accessible from derived class
• Internal - same assembly
• protected internal – different assembly but
should inherit – rarely used
Static Members
• Non Instance specific
Inheritance
Generics
Delegates
public delegate void DelegateMethod(string s);
Calling code:
public static void Method1(string s1)
{
…
}
…
DelegateMethod del = Method1;
del(“Hi”);
Thank You
• Get this session’s stuff at http://c-smil.es/oopstalk
– Slides & code samples
blog:
@ashoka_rkt
codeSmiles.com

More Related Content

PDF
12. Objects I
Joseph Murphy
 
PDF
11. Functions II
Joseph Murphy
 
PDF
Diving Into Scala Cats - Semigroups and Monoids
Knoldus Inc.
 
PDF
Introduction to Scala
Johan Andrén
 
PDF
New design patterns
mekirby
 
PPTX
Java basics at dallas technologies
dallastechnologiesinbtm
 
PPTX
RedisConf18 - RedisUnique
Redis Labs
 
12. Objects I
Joseph Murphy
 
11. Functions II
Joseph Murphy
 
Diving Into Scala Cats - Semigroups and Monoids
Knoldus Inc.
 
Introduction to Scala
Johan Andrén
 
New design patterns
mekirby
 
Java basics at dallas technologies
dallastechnologiesinbtm
 
RedisConf18 - RedisUnique
Redis Labs
 

What's hot (20)

PPTX
RedisConf18 - Amazing User Experiences
Redis Labs
 
PPTX
Code reviews
Roger Xia
 
PPTX
Introduction to value types
Narendran Solai Sridharan
 
PDF
Week07
hccit
 
DOC
Tulika Biswas CV (1)
Tulika Biswas
 
PPTX
Intelligent System Scripting Language - Conceptual Presentation
Cédric Poottaren
 
PPT
Introduction to oops
Umamaheshwariv1
 
PPTX
Ui development Online Training from AkiraIT Solutions
AkiraIT Solutions
 
PPTX
Php traits
Shaun Morrow
 
PDF
JOSA TechTalks - Compilers, Transpilers, and Why You Should Care
Jordan Open Source Association
 
PPTX
Microsoft Azure DocumentDB - Global Azure Bootcamp 2016
Sunny Sharma
 
PDF
Sane CSS - A modern approach to CSS
Lee Cheneler
 
KEY
Learn Ruby 2011 - Session 2
James Thompson
 
KEY
Learn Ruby 2011 - Session 3
James Thompson
 
PPTX
Building Your Own DSL with Xtext
GlobalLogic Ukraine
 
PPT
Java Persistence API (JPA) - A Brief Overview
Craig Dickson
 
PPTX
Scala Introduction - Meetup Scaladores RJ
Rodrigo Lima
 
PPTX
Object oriented programming OOP
Ahmad Ehab
 
PPTX
Intro to java programming
Leah Stephens
 
PPT
Introduction to java programming
ASIT Education
 
RedisConf18 - Amazing User Experiences
Redis Labs
 
Code reviews
Roger Xia
 
Introduction to value types
Narendran Solai Sridharan
 
Week07
hccit
 
Tulika Biswas CV (1)
Tulika Biswas
 
Intelligent System Scripting Language - Conceptual Presentation
Cédric Poottaren
 
Introduction to oops
Umamaheshwariv1
 
Ui development Online Training from AkiraIT Solutions
AkiraIT Solutions
 
Php traits
Shaun Morrow
 
JOSA TechTalks - Compilers, Transpilers, and Why You Should Care
Jordan Open Source Association
 
Microsoft Azure DocumentDB - Global Azure Bootcamp 2016
Sunny Sharma
 
Sane CSS - A modern approach to CSS
Lee Cheneler
 
Learn Ruby 2011 - Session 2
James Thompson
 
Learn Ruby 2011 - Session 3
James Thompson
 
Building Your Own DSL with Xtext
GlobalLogic Ukraine
 
Java Persistence API (JPA) - A Brief Overview
Craig Dickson
 
Scala Introduction - Meetup Scaladores RJ
Rodrigo Lima
 
Object oriented programming OOP
Ahmad Ehab
 
Intro to java programming
Leah Stephens
 
Introduction to java programming
ASIT Education
 
Ad

Viewers also liked (20)

PPTX
Sql server 2012 ha dr
Joseph D'Antoni
 
PPTX
Javascript and Jquery: The connection between
Clint LaForest
 
PPTX
009 sql server management studio
let's go to study
 
PPTX
ASP.NET Core deployment options
Ken Cenerelli
 
PPTX
Back to the Basics - 1 - Introduction to Web Development
Clint LaForest
 
PPTX
.Net framework architecture
Fad Zulkifli
 
PPT
ASP.NET OVERVIEW
Rishi Kothari
 
PPTX
C# fundamentals Part 2
iFour Institute - Sustainable Learning
 
PPT
Future Web Trends - at Innovation series with Jimmy Wales
Matthew Buckland
 
PDF
Your 2012 Marketing Plan: Simple & Powerful
Infusionsoft
 
PPT
HTML 5 Overview
Offir Ariel
 
PPTX
Asp.net page lifecycle
KhademulBasher
 
PPT
HTML 5
Doncho Minkov
 
KEY
HTML 5 & CSS 3
Kevin van Dijk
 
PPT
Introduction To Website Development
zaidfarooqui974
 
PPTX
CMS 120: Introduction to Building a Website
Montana State University
 
PPTX
What is HTML 5?
Susan Winters
 
PDF
Gears and HTML 5 @media Ajax London 2008
dion
 
PPTX
Oops abap fundamental
biswajit2015
 
PPTX
Ten Commandments of Secure Coding - OWASP Top Ten Proactive Controls
SecuRing
 
Sql server 2012 ha dr
Joseph D'Antoni
 
Javascript and Jquery: The connection between
Clint LaForest
 
009 sql server management studio
let's go to study
 
ASP.NET Core deployment options
Ken Cenerelli
 
Back to the Basics - 1 - Introduction to Web Development
Clint LaForest
 
.Net framework architecture
Fad Zulkifli
 
ASP.NET OVERVIEW
Rishi Kothari
 
Future Web Trends - at Innovation series with Jimmy Wales
Matthew Buckland
 
Your 2012 Marketing Plan: Simple & Powerful
Infusionsoft
 
HTML 5 Overview
Offir Ariel
 
Asp.net page lifecycle
KhademulBasher
 
HTML 5 & CSS 3
Kevin van Dijk
 
Introduction To Website Development
zaidfarooqui974
 
CMS 120: Introduction to Building a Website
Montana State University
 
What is HTML 5?
Susan Winters
 
Gears and HTML 5 @media Ajax London 2008
dion
 
Oops abap fundamental
biswajit2015
 
Ten Commandments of Secure Coding - OWASP Top Ten Proactive Controls
SecuRing
 
Ad

Similar to OOPs fundamentals session for freshers in my office (Aug 5, 13) (20)

PPTX
C++ in object oriented programming
Saket Khopkar
 
PPTX
introduction of Object oriented programming
RiturajJain8
 
PPTX
Object Oriented Programming Class and Objects
rubini8582
 
PDF
Intro to Objective C
Ashiq Uz Zoha
 
PPT
Java Fundamentalojhgghjjjjhhgghhjjjjhhj.ppt
akashsachu221
 
PPTX
Software enginering.group-no-11 (1)
riarana10
 
PPTX
CPP13 - Object Orientation
Michael Heron
 
DOC
C# by Zaheer Abbas Aghani
Information Technology Center
 
DOC
C# by Zaheer Abbas Aghani
Information Technology Center
 
PPTX
Chapter1_ObjectOrientedProgramming.pptx
pamyasstos
 
PPT
Introducing object oriented programming (oop)
Hemlathadhevi Annadhurai
 
PPTX
12_oop templa.pptx
RokaKaram
 
PPTX
TOPIC__MODELING_IN_NLP__& __EasyOCR.pptx
ebraheem943946
 
PDF
The Developers World
Ronald Northrip
 
PPSX
OOPS Concepts in Python and Exception Handling
Dr. A. B. Shinde
 
PPTX
Introduction to c ++ part -1
baabtra.com - No. 1 supplier of quality freshers
 
PPTX
Object oriented programming
baabtra.com - No. 1 supplier of quality freshers
 
PDF
Introduction to Object Oriented Programming & Design Principles
Michael Redlich
 
PPTX
Complete PPT about the Java lokesh kept it
lokeshpappaka10
 
PDF
Object-Oriented Programming in Java (Module 1)
muhammadmubinmacadad2
 
C++ in object oriented programming
Saket Khopkar
 
introduction of Object oriented programming
RiturajJain8
 
Object Oriented Programming Class and Objects
rubini8582
 
Intro to Objective C
Ashiq Uz Zoha
 
Java Fundamentalojhgghjjjjhhgghhjjjjhhj.ppt
akashsachu221
 
Software enginering.group-no-11 (1)
riarana10
 
CPP13 - Object Orientation
Michael Heron
 
C# by Zaheer Abbas Aghani
Information Technology Center
 
C# by Zaheer Abbas Aghani
Information Technology Center
 
Chapter1_ObjectOrientedProgramming.pptx
pamyasstos
 
Introducing object oriented programming (oop)
Hemlathadhevi Annadhurai
 
12_oop templa.pptx
RokaKaram
 
TOPIC__MODELING_IN_NLP__& __EasyOCR.pptx
ebraheem943946
 
The Developers World
Ronald Northrip
 
OOPS Concepts in Python and Exception Handling
Dr. A. B. Shinde
 
Introduction to Object Oriented Programming & Design Principles
Michael Redlich
 
Complete PPT about the Java lokesh kept it
lokeshpappaka10
 
Object-Oriented Programming in Java (Module 1)
muhammadmubinmacadad2
 

Recently uploaded (20)

PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
REPORT: Heating appliances market in Poland 2024
SPIUG
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
Doc9.....................................
SofiaCollazos
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
REPORT: Heating appliances market in Poland 2024
SPIUG
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
Doc9.....................................
SofiaCollazos
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 

OOPs fundamentals session for freshers in my office (Aug 5, 13)

  • 1. Ashoka R K T @ashoka_rkt Get this session’s stuff at http://c-smil.es/oopstalk OOPs codeSmiles.comblog:
  • 2. What are we going to see? • Object oriented thinking • Object oriented programming
  • 3. Object Oriented thinking • What comes to your mind hearing the word “Object”? • Why do we need software? – To manage things(objects) • What is present in a software? – Objects are present in Software
  • 4. What are we going to see in OOP • Classes • Objects • Properties and Fields • Methods • Interfaces • And the variations of the above, but these are the base
  • 5. Classes • What is “Class” • Class means classification of objects • ..that’s it • We use classes to classify objects
  • 6. Creating objects of a Class • Employee emp = new Employee();
  • 7. Objects • We already discussed, so.. what are objects? • We create objects using a class’ specification
  • 10. Interfaces • What is “Interface” • Keep in mind Hardware Interface, User Interface, etc
  • 12. Access Modifiers • Public - everywhere • Private – same class • Protected – accessible from derived class • Internal - same assembly • protected internal – different assembly but should inherit – rarely used
  • 13. Static Members • Non Instance specific
  • 16. Delegates public delegate void DelegateMethod(string s); Calling code: public static void Method1(string s1) { … } … DelegateMethod del = Method1; del(“Hi”);
  • 17. Thank You • Get this session’s stuff at http://c-smil.es/oopstalk – Slides & code samples blog: @ashoka_rkt codeSmiles.com