SlideShare a Scribd company logo
1 of 25
Submitted for the Academic Curriculum of 6 th  Semester  Seminar Bachelor of Computer Application Degree of the Jai Narain Vyas University , Jodhpur SUBMITTED BY : PRITESH KUMAR KHANDELWAL BCA 6 TH  SEMESTER  ROLLNO:600 GUIDE: MR.JOSEPH DICKENSON ASSISTANT PROFESSOR COMPUTER SCIENCE
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
OBJECT: (Continue…)
[object Object],[object Object],[object Object],Example: Syntax of general variable declaration: < datatype> <variable_name>; Syntax of object declaration: <class_name> < object_name>; Here compare both
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
CLASS: ( continue…) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
CLASS : (continue…) Class declaration  syntax: Class <class_name> { Data member; Methods(); }; Example: in c++ Class demo { Private: Int a; Public: Void display( ) {  Cout<<”value of a is “ << a; } }
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
IMPLEMENTING ABSTRACTION AND ENCAPSULATION    Example:  here abstraction and encapsulation implemented in C++   class demo { Private : Int a; // hide datamember  called encapsulation Public:  Int b; // show datamember and method as public called abstraction Void display( ) {  Cout<<”value of a and b is respectively”<<a<<b; } };   Void  main( ) { Demo obj; Cout<<obj.b; // access directly Cout<< obj.disply( ); // private member also access through public member }
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
STATIC POLYMORPHISM: Static polymorphism refers to an entity existing in different physical forms simultaneously .   Example: This concept is analogous to a woman being a wife, a mother, a sister, a daughter , and an executive at the same time.   DYNAMIC POLYMORPHISM: Dynamic Polymorphism refers to an entity changing its form, depending on circumstances.   Example: This concept may be treated as analogous to a chameleon changing its color at the sight of an approaching enemy.
IMPLEMENTATION OF POLYMORPHISM:   Polymorphism is implemented by function overloading and function overriding. Function overloading  when various function declared with same name and different signature then called function is overloaded.   Signature refers as  Number of argument Type of argument Sequence of argument Function overriding  when a function redefine with same name and  Same signature within its derived class.
POLYMORPHISM: Example: in c++ Class demof { Public: Void display ( ) { Cout<<” this function does not have any argument ”; } Void display ( int a) { Cout<< “this function have one integer variable as argument”; } Void display (int a ,char x ) { Cout << “this function have argument respectively int a and char x”; } Void display ( char x ,int a) { Cout << “this function have argument respectively char x and int a”; } }; Void main( )  { demof obj; obj.display( ); obj.display(10); obj.display(10,’a’); obj.display(‘a’,12); }
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
EXPANATION OF SOME DESIGN PATTERNS :
 
 
 

More Related Content

What's hot

the Concept of Object-Oriented Programming
the Concept of Object-Oriented Programmingthe Concept of Object-Oriented Programming
the Concept of Object-Oriented Programming
Aida Ramlan II
 

What's hot (20)

General OOP Concepts
General OOP ConceptsGeneral OOP Concepts
General OOP Concepts
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
 
Oops concepts
Oops conceptsOops concepts
Oops concepts
 
Object oriented programming interview questions
Object oriented programming interview questionsObject oriented programming interview questions
Object oriented programming interview questions
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
Polymorphism in c++ ppt (Powerpoint) | Polymorphism in c++ with example ppt |...
Polymorphism in c++ ppt (Powerpoint) | Polymorphism in c++ with example ppt |...Polymorphism in c++ ppt (Powerpoint) | Polymorphism in c++ with example ppt |...
Polymorphism in c++ ppt (Powerpoint) | Polymorphism in c++ with example ppt |...
 
Encapsulation C++
Encapsulation C++Encapsulation C++
Encapsulation C++
 
Concept of Object Oriented Programming
Concept of Object Oriented Programming Concept of Object Oriented Programming
Concept of Object Oriented Programming
 
Object Oriented Programming
Object Oriented ProgrammingObject Oriented Programming
Object Oriented Programming
 
Object
ObjectObject
Object
 
Oop concept
Oop conceptOop concept
Oop concept
 
C plusplus
C plusplusC plusplus
C plusplus
 
Object Oriented Programming using C++ Part II
Object Oriented Programming using C++ Part IIObject Oriented Programming using C++ Part II
Object Oriented Programming using C++ Part II
 
concept of oops
concept of oopsconcept of oops
concept of oops
 
Object Oriented Concepts and Principles
Object Oriented Concepts and PrinciplesObject Oriented Concepts and Principles
Object Oriented Concepts and Principles
 
Object oriented programming concept
Object oriented programming conceptObject oriented programming concept
Object oriented programming concept
 
2 Object Oriented Programming
2 Object Oriented Programming2 Object Oriented Programming
2 Object Oriented Programming
 
OOP interview questions & answers.
OOP interview questions & answers.OOP interview questions & answers.
OOP interview questions & answers.
 
C# programming : Chapter One
C# programming : Chapter OneC# programming : Chapter One
C# programming : Chapter One
 
the Concept of Object-Oriented Programming
the Concept of Object-Oriented Programmingthe Concept of Object-Oriented Programming
the Concept of Object-Oriented Programming
 

Similar to Seminar

Object Oriented Language
Object Oriented LanguageObject Oriented Language
Object Oriented Language
dheva B
 
香港六合彩 &raquo; SlideShare
香港六合彩 &raquo; SlideShare香港六合彩 &raquo; SlideShare
香港六合彩 &raquo; SlideShare
biyu
 
C++Day-1 Introduction.ppt
C++Day-1 Introduction.pptC++Day-1 Introduction.ppt
C++Day-1 Introduction.ppt
citizen15
 

Similar to Seminar (20)

Advance oops concepts
Advance oops conceptsAdvance oops concepts
Advance oops concepts
 
Ch.1 oop introduction, classes and objects
Ch.1 oop introduction, classes and objectsCh.1 oop introduction, classes and objects
Ch.1 oop introduction, classes and objects
 
Object Oriented Language
Object Oriented LanguageObject Oriented Language
Object Oriented Language
 
香港六合彩 &raquo; SlideShare
香港六合彩 &raquo; SlideShare香港六合彩 &raquo; SlideShare
香港六合彩 &raquo; SlideShare
 
My c++
My c++My c++
My c++
 
Concepts In Object Oriented Programming Languages
Concepts In Object Oriented Programming LanguagesConcepts In Object Oriented Programming Languages
Concepts In Object Oriented Programming Languages
 
1 intro
1 intro1 intro
1 intro
 
C++Day-1 Introduction.ppt
C++Day-1 Introduction.pptC++Day-1 Introduction.ppt
C++Day-1 Introduction.ppt
 
Oop.concepts
Oop.conceptsOop.concepts
Oop.concepts
 
MCA NOTES.pdf
MCA NOTES.pdfMCA NOTES.pdf
MCA NOTES.pdf
 
Virtual function
Virtual functionVirtual function
Virtual function
 
M.c.a. (sem iv)- java programming
M.c.a. (sem   iv)- java programmingM.c.a. (sem   iv)- java programming
M.c.a. (sem iv)- java programming
 
Interview preparation for programming.pptx
Interview preparation for programming.pptxInterview preparation for programming.pptx
Interview preparation for programming.pptx
 
Interoduction to c++
Interoduction to c++Interoduction to c++
Interoduction to c++
 
CSc investigatory project
CSc investigatory projectCSc investigatory project
CSc investigatory project
 
Object oriented programming C++
Object oriented programming C++Object oriented programming C++
Object oriented programming C++
 
OBJECT ORIENTED PROGRAMMING CONCEPTS IN C++.pptx
OBJECT ORIENTED PROGRAMMING CONCEPTS IN C++.pptxOBJECT ORIENTED PROGRAMMING CONCEPTS IN C++.pptx
OBJECT ORIENTED PROGRAMMING CONCEPTS IN C++.pptx
 
C++
C++C++
C++
 
OOP in java
OOP in javaOOP in java
OOP in java
 
C++ programing lanuage
C++ programing lanuageC++ programing lanuage
C++ programing lanuage
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 

Recently uploaded (20)

How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 

Seminar

  • 1. Submitted for the Academic Curriculum of 6 th Semester Seminar Bachelor of Computer Application Degree of the Jai Narain Vyas University , Jodhpur SUBMITTED BY : PRITESH KUMAR KHANDELWAL BCA 6 TH SEMESTER ROLLNO:600 GUIDE: MR.JOSEPH DICKENSON ASSISTANT PROFESSOR COMPUTER SCIENCE
  • 2.
  • 3.
  • 4.
  • 6.
  • 7.
  • 8.
  • 9. CLASS : (continue…) Class declaration syntax: Class <class_name> { Data member; Methods(); }; Example: in c++ Class demo { Private: Int a; Public: Void display( ) { Cout<<”value of a is “ << a; } }
  • 10.
  • 11.
  • 12. IMPLEMENTING ABSTRACTION AND ENCAPSULATION   Example: here abstraction and encapsulation implemented in C++   class demo { Private : Int a; // hide datamember called encapsulation Public: Int b; // show datamember and method as public called abstraction Void display( ) { Cout<<”value of a and b is respectively”<<a<<b; } };   Void main( ) { Demo obj; Cout<<obj.b; // access directly Cout<< obj.disply( ); // private member also access through public member }
  • 13.
  • 14. STATIC POLYMORPHISM: Static polymorphism refers to an entity existing in different physical forms simultaneously .   Example: This concept is analogous to a woman being a wife, a mother, a sister, a daughter , and an executive at the same time.   DYNAMIC POLYMORPHISM: Dynamic Polymorphism refers to an entity changing its form, depending on circumstances.   Example: This concept may be treated as analogous to a chameleon changing its color at the sight of an approaching enemy.
  • 15. IMPLEMENTATION OF POLYMORPHISM:   Polymorphism is implemented by function overloading and function overriding. Function overloading when various function declared with same name and different signature then called function is overloaded.   Signature refers as Number of argument Type of argument Sequence of argument Function overriding when a function redefine with same name and Same signature within its derived class.
  • 16. POLYMORPHISM: Example: in c++ Class demof { Public: Void display ( ) { Cout<<” this function does not have any argument ”; } Void display ( int a) { Cout<< “this function have one integer variable as argument”; } Void display (int a ,char x ) { Cout << “this function have argument respectively int a and char x”; } Void display ( char x ,int a) { Cout << “this function have argument respectively char x and int a”; } }; Void main( ) { demof obj; obj.display( ); obj.display(10); obj.display(10,’a’); obj.display(‘a’,12); }
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22. EXPANATION OF SOME DESIGN PATTERNS :
  • 23.  
  • 24.  
  • 25.