SlideShare a Scribd company logo
1 of 17
P1WU
UNIT – I: BASICS OF C PROGRAMMING
TOPIC -1 : OVERVIEW OF OOP
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA
UNIT I INTRODUCTION TO OOP AND JAVA
1. Overview of OOP
2. Object oriented
programming paradigms
3. Features of Object
Oriented Programming
4. Java Buzzwords
5. Overview of Java – Data Types,
Variables and Arrays
6.Operators
7.Control Statements
8.Defining classes in Java
9.Constructors
10.Methods
11. Access specifiers
12.Static members
13. JavaDoc comments
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA
INTRODUCTION TO OBJECT ORIENTED PROGRAMMING
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA
What is Program ?
•Set of instructions that are used to instruct
the computer machine to do designated set
of operations.
•Set of code that does predefined set of tasks
inside a computer machine.
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA
What is Programming ?
•The action or doing of Program or Code is
called Programming
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA
What is Programming Paradigm ?
• Programming Paradigms are the ways to classify programming
languages based on their features.
• Languages are classified into multiple paradigms.
• Some paradigms are concerned with mainly with implications for the
execution model of the language
• Allowing Side effects, or whether the sequence of operations is defined by
the execution model.
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA
Types of Programming Paradigm
• Common Programming Paradigms includes :
• Imperative which allows side effects
• Functional which disallows side effects
• Declarative which does not state the order in which operations
execute.
• Object-oriented which groups code together
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA
MACHINE CODE
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA
PROCEDURAL LANGAUGE
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA
1.1 Introduction to Object – Oriented Programming
• Object-Oriented Programming (OOP) is a programming
language model organized around objects rather than actions
and data.
• An object-oriented program can be characterized as data
controlling access to code.
• An object oriented approach aim is to remove the drawback
encountered in the procedural approach.
• The programming paradigm object treats data as an element in the
program development and holds it tightly rather than allowing it to
move freely around the system.
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA
Features of Procedural Oriented Programming
• The higher level of abstraction:
• Top-down approach support abstraction at the Functional level
while object oriented approach support abstraction at the object
level.
• The seamless transition among different software
development phases:
• It uses the same language for all phases, which reduces the level of
complexity and redundancy makes software development clear
and robust.
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA
Features of Procedural Oriented Programming
• Good programming practice:
• The subroutine and attributes of a class are held together tightly.
• Improves reusability:
• it supports inheritance due to which classes can be built from each other.
• So only difference and enhancement between classes need to be designed
and coded.
• All the previous functionality remains as it is and can be used without
change.
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA
Difference between Procedure-Oriented Programming (POP)
Vs Object-Oriented Programming (OOP)
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA
Procedure-Oriented Programming Object-Oriented Programming
In POP, program is divided into small parts
called functions
In OOP,program called objects is divided
into parts
In POP, Importance is not given to data but
to functions as well as sequence of actions to
be done.
In OOP, Importance is given to the data rather
than procedures or functions because it works
as a real world.
POP follows Top Down approach. OOP follows Bottom Up approach.
POP does not have any access specifier. OOP has access specifiers named Public,
Private, Protected, etc.
Difference between Procedure-Oriented Programming (POP)
Vs Object-Oriented Programming (OOP)
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA
Procedure-Oriented Programming Object-Oriented Programming
In POP, Data can move freely from function to
function in the system.
In OOP, objects can move and communicate with
each other through member functions.
To add new data and function in POP is not so easy. OOP provides an easy way to add new data and
function.
In POP, Most function uses Global data forsharing
that can be accessed freely from function to function
in the system.
In OOP, data can not move easily from functionto
function,it can be kept public or private so we can
control the access of data.
Difference between Procedure-Oriented Programming (POP)
Vs Object-Oriented Programming (OOP)
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA
Procedure-Oriented Programming Object-Oriented Programming
POP does not have any proper way for hiding
data so it is less secure.
OOP provides Data Hiding so provides more
security.
In POP, Overloading is not possible. In OOP, overloading is possible in the form of
Function Overloading and Operator Overloading.
Example of POP are : C, VB, FORTRAN, Pascal.
Example of OOP are : C++, JAVA, VB.NET,
C#.NET.
THANK YOU
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA

More Related Content

Similar to CS3391 OOP UT-I T1 OVERVIEW OF OOP

MANJULA PRASHANT CV
MANJULA PRASHANT CVMANJULA PRASHANT CV
MANJULA PRASHANT CV
Manjula CB
 

Similar to CS3391 OOP UT-I T1 OVERVIEW OF OOP (20)

OOP Unit 1 - Foundation of Object- Oriented Programming
OOP Unit 1 - Foundation of Object- Oriented ProgrammingOOP Unit 1 - Foundation of Object- Oriented Programming
OOP Unit 1 - Foundation of Object- Oriented Programming
 
2 Object Oriented Programming
2 Object Oriented Programming2 Object Oriented Programming
2 Object Oriented Programming
 
Basic concept of OOP's
Basic concept of OOP'sBasic concept of OOP's
Basic concept of OOP's
 
Object oriented programming in java
Object oriented programming in javaObject oriented programming in java
Object oriented programming in java
 
chapter-6-oops.pdf
chapter-6-oops.pdfchapter-6-oops.pdf
chapter-6-oops.pdf
 
OOP ppt.pdf
OOP ppt.pdfOOP ppt.pdf
OOP ppt.pdf
 
Spring Framework Tutorial | VirtualNuggets
Spring Framework Tutorial | VirtualNuggetsSpring Framework Tutorial | VirtualNuggets
Spring Framework Tutorial | VirtualNuggets
 
Sulthan's_JAVA_Material_for_B.Sc-CS.pdf
Sulthan's_JAVA_Material_for_B.Sc-CS.pdfSulthan's_JAVA_Material_for_B.Sc-CS.pdf
Sulthan's_JAVA_Material_for_B.Sc-CS.pdf
 
PCCF UNIT 2.pptx
PCCF UNIT 2.pptxPCCF UNIT 2.pptx
PCCF UNIT 2.pptx
 
Aspect Oriented Programming
Aspect Oriented ProgrammingAspect Oriented Programming
Aspect Oriented Programming
 
PCCF UNIT 2 CLASS.pptx
PCCF UNIT 2 CLASS.pptxPCCF UNIT 2 CLASS.pptx
PCCF UNIT 2 CLASS.pptx
 
Chapter 04 object oriented programming
Chapter 04 object oriented programmingChapter 04 object oriented programming
Chapter 04 object oriented programming
 
OODJ-MODULE 1.pptx
OODJ-MODULE 1.pptxOODJ-MODULE 1.pptx
OODJ-MODULE 1.pptx
 
itft-Fundamentals of object–oriented programming in java
itft-Fundamentals of object–oriented programming in javaitft-Fundamentals of object–oriented programming in java
itft-Fundamentals of object–oriented programming in java
 
Coding
CodingCoding
Coding
 
Oop in c++ lecture 1
Oop in c++  lecture 1Oop in c++  lecture 1
Oop in c++ lecture 1
 
MANJULA PRASHANT CV
MANJULA PRASHANT CVMANJULA PRASHANT CV
MANJULA PRASHANT CV
 
object oriented programming examples
object oriented programming examplesobject oriented programming examples
object oriented programming examples
 
Java seminar
Java seminarJava seminar
Java seminar
 
Programming language paradigms
Programming language paradigmsProgramming language paradigms
Programming language paradigms
 

More from AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING

More from AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING (20)

JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptxJAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
 
INTRO TO PROGRAMMING.ppt
INTRO TO PROGRAMMING.pptINTRO TO PROGRAMMING.ppt
INTRO TO PROGRAMMING.ppt
 
CS3391 OOP UT-I T4 JAVA BUZZWORDS.pptx
CS3391 OOP UT-I T4 JAVA BUZZWORDS.pptxCS3391 OOP UT-I T4 JAVA BUZZWORDS.pptx
CS3391 OOP UT-I T4 JAVA BUZZWORDS.pptx
 
CS3391 OOP UT-I T3 FEATURES OF OBJECT ORIENTED PROGRAMMING
CS3391 OOP UT-I T3 FEATURES OF OBJECT ORIENTED PROGRAMMINGCS3391 OOP UT-I T3 FEATURES OF OBJECT ORIENTED PROGRAMMING
CS3391 OOP UT-I T3 FEATURES OF OBJECT ORIENTED PROGRAMMING
 
CS3391 -OOP -UNIT – V NOTES FINAL.pdf
CS3391 -OOP -UNIT – V NOTES FINAL.pdfCS3391 -OOP -UNIT – V NOTES FINAL.pdf
CS3391 -OOP -UNIT – V NOTES FINAL.pdf
 
CS3391 -OOP -UNIT – IV NOTES FINAL.pdf
CS3391 -OOP -UNIT – IV NOTES FINAL.pdfCS3391 -OOP -UNIT – IV NOTES FINAL.pdf
CS3391 -OOP -UNIT – IV NOTES FINAL.pdf
 
CS3391 -OOP -UNIT – III NOTES FINAL.pdf
CS3391 -OOP -UNIT – III  NOTES FINAL.pdfCS3391 -OOP -UNIT – III  NOTES FINAL.pdf
CS3391 -OOP -UNIT – III NOTES FINAL.pdf
 
CS3391 -OOP -UNIT – II NOTES FINAL.pdf
CS3391 -OOP -UNIT – II  NOTES FINAL.pdfCS3391 -OOP -UNIT – II  NOTES FINAL.pdf
CS3391 -OOP -UNIT – II NOTES FINAL.pdf
 
CS3391 -OOP -UNIT – I NOTES FINAL.pdf
CS3391 -OOP -UNIT – I  NOTES FINAL.pdfCS3391 -OOP -UNIT – I  NOTES FINAL.pdf
CS3391 -OOP -UNIT – I NOTES FINAL.pdf
 
CS3251-_PIC
CS3251-_PICCS3251-_PIC
CS3251-_PIC
 
CS8080 information retrieval techniques unit iii ppt in pdf
CS8080 information retrieval techniques unit iii ppt in pdfCS8080 information retrieval techniques unit iii ppt in pdf
CS8080 information retrieval techniques unit iii ppt in pdf
 
CS8080 IRT UNIT I NOTES.pdf
CS8080 IRT UNIT I  NOTES.pdfCS8080 IRT UNIT I  NOTES.pdf
CS8080 IRT UNIT I NOTES.pdf
 
CS8080_IRT_UNIT - III T14 SEQUENTIAL SEARCHING.pdf
CS8080_IRT_UNIT - III T14 SEQUENTIAL SEARCHING.pdfCS8080_IRT_UNIT - III T14 SEQUENTIAL SEARCHING.pdf
CS8080_IRT_UNIT - III T14 SEQUENTIAL SEARCHING.pdf
 
CS8080_IRT_UNIT - III T15 MULTI-DIMENSIONAL INDEXING.pdf
CS8080_IRT_UNIT - III T15 MULTI-DIMENSIONAL INDEXING.pdfCS8080_IRT_UNIT - III T15 MULTI-DIMENSIONAL INDEXING.pdf
CS8080_IRT_UNIT - III T15 MULTI-DIMENSIONAL INDEXING.pdf
 
CS8080_IRT_UNIT - III T13 INVERTED INDEXES.pdf
CS8080_IRT_UNIT - III T13 INVERTED  INDEXES.pdfCS8080_IRT_UNIT - III T13 INVERTED  INDEXES.pdf
CS8080_IRT_UNIT - III T13 INVERTED INDEXES.pdf
 
CS8080 IRT UNIT - III SLIDES IN PDF.pdf
CS8080  IRT UNIT - III  SLIDES IN PDF.pdfCS8080  IRT UNIT - III  SLIDES IN PDF.pdf
CS8080 IRT UNIT - III SLIDES IN PDF.pdf
 
CS8080_IRT_UNIT - III T11 ORGANIZING THE CLASSES.pdf
CS8080_IRT_UNIT - III T11 ORGANIZING THE CLASSES.pdfCS8080_IRT_UNIT - III T11 ORGANIZING THE CLASSES.pdf
CS8080_IRT_UNIT - III T11 ORGANIZING THE CLASSES.pdf
 
CS8080_IRT_UNIT - III T12 INDEXING AND SEARCHING.pdf
CS8080_IRT_UNIT - III T12 INDEXING AND SEARCHING.pdfCS8080_IRT_UNIT - III T12 INDEXING AND SEARCHING.pdf
CS8080_IRT_UNIT - III T12 INDEXING AND SEARCHING.pdf
 
CS8080_IRT_UNIT - III T11 ORGANIZING THE CLASSES.pdf
CS8080_IRT_UNIT - III T11 ORGANIZING THE CLASSES.pdfCS8080_IRT_UNIT - III T11 ORGANIZING THE CLASSES.pdf
CS8080_IRT_UNIT - III T11 ORGANIZING THE CLASSES.pdf
 
CS8080_IRT_UNIT - III T10 ACCURACY AND ERROR.pdf
CS8080_IRT_UNIT - III T10  ACCURACY AND ERROR.pdfCS8080_IRT_UNIT - III T10  ACCURACY AND ERROR.pdf
CS8080_IRT_UNIT - III T10 ACCURACY AND ERROR.pdf
 

Recently uploaded

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Christo Ananth
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 

Recently uploaded (20)

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 

CS3391 OOP UT-I T1 OVERVIEW OF OOP

  • 1. P1WU UNIT – I: BASICS OF C PROGRAMMING TOPIC -1 : OVERVIEW OF OOP AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA
  • 2. UNIT I INTRODUCTION TO OOP AND JAVA 1. Overview of OOP 2. Object oriented programming paradigms 3. Features of Object Oriented Programming 4. Java Buzzwords 5. Overview of Java – Data Types, Variables and Arrays 6.Operators 7.Control Statements 8.Defining classes in Java 9.Constructors 10.Methods 11. Access specifiers 12.Static members 13. JavaDoc comments AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA
  • 3. INTRODUCTION TO OBJECT ORIENTED PROGRAMMING AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA
  • 4. What is Program ? •Set of instructions that are used to instruct the computer machine to do designated set of operations. •Set of code that does predefined set of tasks inside a computer machine. AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA
  • 5. What is Programming ? •The action or doing of Program or Code is called Programming AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA
  • 6. What is Programming Paradigm ? • Programming Paradigms are the ways to classify programming languages based on their features. • Languages are classified into multiple paradigms. • Some paradigms are concerned with mainly with implications for the execution model of the language • Allowing Side effects, or whether the sequence of operations is defined by the execution model. AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA
  • 7. Types of Programming Paradigm • Common Programming Paradigms includes : • Imperative which allows side effects • Functional which disallows side effects • Declarative which does not state the order in which operations execute. • Object-oriented which groups code together AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA
  • 8. MACHINE CODE AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA
  • 9. PROCEDURAL LANGAUGE AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA
  • 10. 1.1 Introduction to Object – Oriented Programming • Object-Oriented Programming (OOP) is a programming language model organized around objects rather than actions and data. • An object-oriented program can be characterized as data controlling access to code. • An object oriented approach aim is to remove the drawback encountered in the procedural approach. • The programming paradigm object treats data as an element in the program development and holds it tightly rather than allowing it to move freely around the system. AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA
  • 11. Features of Procedural Oriented Programming • The higher level of abstraction: • Top-down approach support abstraction at the Functional level while object oriented approach support abstraction at the object level. • The seamless transition among different software development phases: • It uses the same language for all phases, which reduces the level of complexity and redundancy makes software development clear and robust. AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA
  • 12. Features of Procedural Oriented Programming • Good programming practice: • The subroutine and attributes of a class are held together tightly. • Improves reusability: • it supports inheritance due to which classes can be built from each other. • So only difference and enhancement between classes need to be designed and coded. • All the previous functionality remains as it is and can be used without change. AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA
  • 13. Difference between Procedure-Oriented Programming (POP) Vs Object-Oriented Programming (OOP) AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA Procedure-Oriented Programming Object-Oriented Programming In POP, program is divided into small parts called functions In OOP,program called objects is divided into parts In POP, Importance is not given to data but to functions as well as sequence of actions to be done. In OOP, Importance is given to the data rather than procedures or functions because it works as a real world. POP follows Top Down approach. OOP follows Bottom Up approach. POP does not have any access specifier. OOP has access specifiers named Public, Private, Protected, etc.
  • 14. Difference between Procedure-Oriented Programming (POP) Vs Object-Oriented Programming (OOP) AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA Procedure-Oriented Programming Object-Oriented Programming In POP, Data can move freely from function to function in the system. In OOP, objects can move and communicate with each other through member functions. To add new data and function in POP is not so easy. OOP provides an easy way to add new data and function. In POP, Most function uses Global data forsharing that can be accessed freely from function to function in the system. In OOP, data can not move easily from functionto function,it can be kept public or private so we can control the access of data.
  • 15. Difference between Procedure-Oriented Programming (POP) Vs Object-Oriented Programming (OOP) AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA Procedure-Oriented Programming Object-Oriented Programming POP does not have any proper way for hiding data so it is less secure. OOP provides Data Hiding so provides more security. In POP, Overloading is not possible. In OOP, overloading is possible in the form of Function Overloading and Operator Overloading. Example of POP are : C, VB, FORTRAN, Pascal. Example of OOP are : C++, JAVA, VB.NET, C#.NET.
  • 16. THANK YOU AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA
  • 17. AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA