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

PPT
Unit 1- Basic concept of object-oriented-programming.ppt
PPT
Basic concept of OOP's
PDF
Introduction to Object Oriented Programming.pdf
PPTX
3rd semester elective Awareness ppt.pptx
PPTX
2-oops-concepts_about_c++_btech_cse.pptx
PPTX
object oriented programming in c++ introduction lecture 1.pptx
PDF
OOPS_Unit_1
PPTX
Top Java OOP Principles You Should Know Before Your Next Interview
Unit 1- Basic concept of object-oriented-programming.ppt
Basic concept of OOP's
Introduction to Object Oriented Programming.pdf
3rd semester elective Awareness ppt.pptx
2-oops-concepts_about_c++_btech_cse.pptx
object oriented programming in c++ introduction lecture 1.pptx
OOPS_Unit_1
Top Java OOP Principles You Should Know Before Your Next Interview

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

PPTX
c++session 1.pptx
PPT
Topic 1 PBO
PDF
CS305PC_C++_UNIT 1 notes jntuh third semester
PPTX
INTRODUCTION TO JAVA
PPT
Mca 2 sem u-1 iintroduction
PPT
Bca 2nd sem u-1 iintroduction
PDF
1 puc programming using c++
PPTX
Introduction to Object Oriented Programming.pptx
PPTX
Birasa 1
PPTX
JAVA PROGRAMMING
PDF
Diving into OOPs_ Key Concepts and Principles (1).pdf
PDF
Procedural-vs-Object-Oriented-Programming (1).pdf
PPTX
lec(1).pptx
PPT
chapter - 1.ppt
PDF
Evolution Of Object Oriented Technology
PPTX
JAVA PROGRAMMINGD
PPTX
Block_1_Unit- I.pdf bca learning for exam you
KEY
Practical OOP In Java
PPTX
java oops and java very important for .pptx
c++session 1.pptx
Topic 1 PBO
CS305PC_C++_UNIT 1 notes jntuh third semester
INTRODUCTION TO JAVA
Mca 2 sem u-1 iintroduction
Bca 2nd sem u-1 iintroduction
1 puc programming using c++
Introduction to Object Oriented Programming.pptx
Birasa 1
JAVA PROGRAMMING
Diving into OOPs_ Key Concepts and Principles (1).pdf
Procedural-vs-Object-Oriented-Programming (1).pdf
lec(1).pptx
chapter - 1.ppt
Evolution Of Object Oriented Technology
JAVA PROGRAMMINGD
Block_1_Unit- I.pdf bca learning for exam you
Practical OOP In Java
java oops and java very important for .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
Unit1 - AIML Chapter 1 concept and ethics
PDF
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
PDF
Unit I -OPERATING SYSTEMS_SRM_KATTANKULATHUR.pptx.pdf
PPTX
CN_Unite_1 AI&DS ENGGERING SPPU PUNE UNIVERSITY
PPTX
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
PDF
MLpara ingenieira CIVIL, meca Y AMBIENTAL
PPTX
Software Engineering and software moduleing
PDF
Abrasive, erosive and cavitation wear.pdf
PDF
First part_B-Image Processing - 1 of 2).pdf
PPTX
mechattonicsand iotwith sensor and actuator
 
PDF
Implantable Drug Delivery System_NDDS_BPHARMACY__SEM VII_PCI .pdf
PDF
distributed database system" (DDBS) is often used to refer to both the distri...
PDF
20250617 - IR - Global Guide for HR - 51 pages.pdf
PPTX
wireless networks, mobile computing.pptx
PPTX
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
PPTX
CyberSecurity Mobile and Wireless Devices
PDF
UEFA_Carbon_Footprint_Calculator_Methology_2.0.pdf
PPTX
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
PPTX
Principal presentation for NAAC (1).pptx
PDF
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
Unit1 - AIML Chapter 1 concept and ethics
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
Unit I -OPERATING SYSTEMS_SRM_KATTANKULATHUR.pptx.pdf
CN_Unite_1 AI&DS ENGGERING SPPU PUNE UNIVERSITY
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
MLpara ingenieira CIVIL, meca Y AMBIENTAL
Software Engineering and software moduleing
Abrasive, erosive and cavitation wear.pdf
First part_B-Image Processing - 1 of 2).pdf
mechattonicsand iotwith sensor and actuator
 
Implantable Drug Delivery System_NDDS_BPHARMACY__SEM VII_PCI .pdf
distributed database system" (DDBS) is often used to refer to both the distri...
20250617 - IR - Global Guide for HR - 51 pages.pdf
wireless networks, mobile computing.pptx
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
CyberSecurity Mobile and Wireless Devices
UEFA_Carbon_Footprint_Calculator_Methology_2.0.pdf
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
Principal presentation for NAAC (1).pptx
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...

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/