SlideShare a Scribd company logo
Workshop on “Object oriented
programming using C++ and Java -
an interview based approach”
Dr. S.M. Badhusha
Sr.Professor/ CSE department
Alva’s Institute Engineering and Technology
Mijar, Moodbidri, Mangalore
Introduction to C++
C++ is a general purpose programming language
It has object-oriented and generic programming
features
C++ runs on lots of platform like Windows,
Linux, Unix, Mac etc.
It was developed by Bjarne Stroustrup at Bell
labs.
It is statically typed, free form, Compiled
general-purpose language.
Introduction to C++
Object oriented Programming using C++ and Java
Object Oriented Programming
Four major principles :

Data Abstraction.

Encapsulation(Information Hiding).

Polymorphism (static and dynamic binding).

Inheritance.
Object oriented Programming using C++ and Java
Advantages of C++ over C

Variables can be declared anywhere

Inline functions, function overloading & Operator
Overloading

Stronger Type Checking in C++

OOPS features in C++ like Abstraction,
Encapsulation, Polymorphism & Inheritance

Exception Handling (a method to handle
unresolved exceptions or errors at runtime).

Virtual functions and also Constructors and
Destructors for Objects

Templates

new and delete instead of malloc() and free()
Important terminologies in oops

A class is a blueprint for any functional entity which
defines its properties and its functions

The properties and functions of the base class is inherited
to the derived class is inheritance

Object is an entity which is created by a Class

Abstraction means, showcasing only the required things to
the outside world while hiding the details

Wrapping up of both data and member functions is Data
encapsulation

Polymorphism : ability for the msg or data to be processed
in more than one form

Modularity : ability of a system to be decomposed into a
set of related modules
Conclusion

OOPs Concept is adopted in software development
environment thoroughly.

It offers importance for data rather than procedure for
handling data

It provides a layered security for software system.

A modular,secure, reliable software can be developed with
reusability in coding

An ideal programming paradigm for developing web-
oriented applications with high level of data abstraction is
Object oriented programming concept.

It currently is best suited for different on-line web-oriented
applications with high level of integrity.
References

Sourav Sahay, Object Oriented Programming with
C++ , Oxford University Press,2006

Herbert Schildt, Java The Complete Reference, 7th
Edition, Tata McGraw Hill, 2007.

Mahesh Bhave and Sunil Patekar, "Programming
with Java", First Edition, Pearson Education,2008,
ISBN:9788131720806

Herbert Schildt, The Complete Reference C++, 4th
Edition, Tata McGraw Hill, 2003.

Stanley B.Lippmann, Josee Lajore, C++ Primer, 4th
Edition, Pearson Education, 2005

https://www.tutorialspoint.com/
https://www.geeksforgeeks.org/

More Related Content

PPTX
c++session 1.pptx
PPTX
Object oriented programming. (1).pptx
PPTX
C++ with student management system project
PPT
the education purpose of software C++.ppt
PPT
Unit 1- Basic concept of object-oriented-programming.ppt
PPTX
C++ in object oriented programming
PPT
PPT
C++ basic intro on c++ programming language ppt
c++session 1.pptx
Object oriented programming. (1).pptx
C++ with student management system project
the education purpose of software C++.ppt
Unit 1- Basic concept of object-oriented-programming.ppt
C++ in object oriented programming
C++ basic intro on c++ programming language ppt

Similar to Object oriented Programming using C++ and Java (20)

PPTX
Object oriented programing
PPTX
An introduction to object-oriented programming.pptx
PPTX
oop.pptx
PDF
OOPS_Unit_1
PPT
C++Day-1 Introduction.ppt
PPTX
OOP CHAPTER object oreinted programming using c++
PDF
Object Oriented Programming With C 2140705 Darshan All Unit Darshan Institute...
PPTX
Rajib Ali Presentation on object oreitation oop.pptx
PPT
The smartpath information systems c plus plus
PPTX
2-oops-concepts_about_c++_btech_cse.pptx
PPT
Bca 2nd sem u-1 iintroduction
PDF
M.c.a (sem iii) paper - i - object oriented programming
PPTX
Object Oriented Programming Lecture 01.pptx
PPTX
Basic Introduction to C++.pptx
PDF
CS305PC_C++_UNIT 1 notes jntuh third semester
PPTX
Object Oriented Programming beigneers Lecture 01 (1).pptx
PPTX
CPP_,module2_1.pptx
PPTX
Unit 1 introduction to c++.pptx
PPTX
Lecture 1.pptx
Object oriented programing
An introduction to object-oriented programming.pptx
oop.pptx
OOPS_Unit_1
C++Day-1 Introduction.ppt
OOP CHAPTER object oreinted programming using c++
Object Oriented Programming With C 2140705 Darshan All Unit Darshan Institute...
Rajib Ali Presentation on object oreitation oop.pptx
The smartpath information systems c plus plus
2-oops-concepts_about_c++_btech_cse.pptx
Bca 2nd sem u-1 iintroduction
M.c.a (sem iii) paper - i - object oriented programming
Object Oriented Programming Lecture 01.pptx
Basic Introduction to C++.pptx
CS305PC_C++_UNIT 1 notes jntuh third semester
Object Oriented Programming beigneers Lecture 01 (1).pptx
CPP_,module2_1.pptx
Unit 1 introduction to c++.pptx
Lecture 1.pptx
Ad

More from S.Mohideen Badhusha (7)

PDF
Introduction to Python Data Analytics.pdf
PDF
Simple intro to HTML and its applications
PDF
PHP Programming and its Applications workshop
PDF
‘How to develop Pythonic coding rather than Python coding – Logic Perspective’
PDF
‘How to develop Pythonic coding rather than Python coding – Logic Perspective’
PDF
‘How to develop Pythonic coding rather than Python coding – Logic Perspective’
PDF
‘How to develop Pythonic coding rather than Python coding – Logic Perspective’
Introduction to Python Data Analytics.pdf
Simple intro to HTML and its applications
PHP Programming and its Applications workshop
‘How to develop Pythonic coding rather than Python coding – Logic Perspective’
‘How to develop Pythonic coding rather than Python coding – Logic Perspective’
‘How to develop Pythonic coding rather than Python coding – Logic Perspective’
‘How to develop Pythonic coding rather than Python coding – Logic Perspective’
Ad

Recently uploaded (20)

PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
PPT on Performance Review to get promotions
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
Geodesy 1.pptx...............................................
DOCX
573137875-Attendance-Management-System-original
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Well-logging-methods_new................
Operating System & Kernel Study Guide-1 - converted.pdf
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPT on Performance Review to get promotions
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Automation-in-Manufacturing-Chapter-Introduction.pdf
UNIT 4 Total Quality Management .pptx
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Model Code of Practice - Construction Work - 21102022 .pdf
CH1 Production IntroductoryConcepts.pptx
R24 SURVEYING LAB MANUAL for civil enggi
Geodesy 1.pptx...............................................
573137875-Attendance-Management-System-original
OOP with Java - Java Introduction (Basics)
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
CYBER-CRIMES AND SECURITY A guide to understanding
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Well-logging-methods_new................

Object oriented Programming using C++ and Java

  • 1. Workshop on “Object oriented programming using C++ and Java - an interview based approach” Dr. S.M. Badhusha Sr.Professor/ CSE department Alva’s Institute Engineering and Technology Mijar, Moodbidri, Mangalore
  • 3. C++ is a general purpose programming language It has object-oriented and generic programming features C++ runs on lots of platform like Windows, Linux, Unix, Mac etc. It was developed by Bjarne Stroustrup at Bell labs. It is statically typed, free form, Compiled general-purpose language. Introduction to C++
  • 5. Object Oriented Programming Four major principles :  Data Abstraction.  Encapsulation(Information Hiding).  Polymorphism (static and dynamic binding).  Inheritance.
  • 7. Advantages of C++ over C  Variables can be declared anywhere  Inline functions, function overloading & Operator Overloading  Stronger Type Checking in C++  OOPS features in C++ like Abstraction, Encapsulation, Polymorphism & Inheritance  Exception Handling (a method to handle unresolved exceptions or errors at runtime).  Virtual functions and also Constructors and Destructors for Objects  Templates  new and delete instead of malloc() and free()
  • 8. Important terminologies in oops  A class is a blueprint for any functional entity which defines its properties and its functions  The properties and functions of the base class is inherited to the derived class is inheritance  Object is an entity which is created by a Class  Abstraction means, showcasing only the required things to the outside world while hiding the details  Wrapping up of both data and member functions is Data encapsulation  Polymorphism : ability for the msg or data to be processed in more than one form  Modularity : ability of a system to be decomposed into a set of related modules
  • 9. Conclusion  OOPs Concept is adopted in software development environment thoroughly.  It offers importance for data rather than procedure for handling data  It provides a layered security for software system.  A modular,secure, reliable software can be developed with reusability in coding  An ideal programming paradigm for developing web- oriented applications with high level of data abstraction is Object oriented programming concept.  It currently is best suited for different on-line web-oriented applications with high level of integrity.
  • 10. References  Sourav Sahay, Object Oriented Programming with C++ , Oxford University Press,2006  Herbert Schildt, Java The Complete Reference, 7th Edition, Tata McGraw Hill, 2007.  Mahesh Bhave and Sunil Patekar, "Programming with Java", First Edition, Pearson Education,2008, ISBN:9788131720806  Herbert Schildt, The Complete Reference C++, 4th Edition, Tata McGraw Hill, 2003.  Stanley B.Lippmann, Josee Lajore, C++ Primer, 4th Edition, Pearson Education, 2005  https://www.tutorialspoint.com/ https://www.geeksforgeeks.org/