jagomart
digital resources
picture1_Basics Of Programming Pdf 188202 | 1701780


 172x       Filetype PDF       File size 0.44 MB       Source: www.irejournals.com


File: Basics Of Programming Pdf 188202 | 1701780
dec 2019 ire journals volume 3 issue 6 issn 2456 8880 concepts related to object oriented program oops basics 1 2 vishal vaman mehtre utkarsh raj verma 1 assistant prof ...

icon picture PDF Filetype PDF | Posted on 02 Feb 2023 | 2 years ago
Partial capture of text on file.
                                                                   © DEC 2019 | IRE Journals | Volume 3 Issue 6 | ISSN: 2456-8880 
                                 Concepts Related to Object Oriented Program OOP‟S: 
                                                                                                         Basics 
                                                                                                                    
                                                                                                                    1                                              2
                                                                  VISHAL VAMAN MEHTRE , UTKARSH RAJ VERMA  
                            1 Assistant Prof., Department of Electrical Engineering, Bharati Vidyapeeth Deemed University College of 
                                                                                                   Engineering, PUNE 
                             2
                                Department of Electrical Engineering, Bharati Vidyapeeth Deemed University College of Engineering, 
                                                                                                              PUNE 
                             
                           Abstract- This paper gives us the basic information                                            programming  approaches.  These  concepts  are  as 
                           of  “object  oriented  programming”  (OOPS).It  also                                           follows: 
                           Provides  us  the  concept  of  object  and  basic                                              
                           parameters  of  OOPS  .Such  as  Data  abstraction                                                              II.       DATAABSTRACTION 
                           Encapsulation                modularity             inheritance            and                  
                           polymorphism.  OOPS  classes  tend  to  be  overly                                             It  refers to the act of representing essential features 
                           generalized,  which  make  relations  among  classes                                           without        including         the      background  details  or 
                           becomes  artificial  at  time.  The  object  oriented                                          explanation [2]. 
                           programs are tricky in design. So to program with                                               
                           OOPS  one  needs  to  have  proper  design  skills, 
                           programming skills.  Since  OOPS  codes  are  more 
                           near  to  real  world  models,  the  programmer  must 
                           have to think in terms of object. 
                            
                                                I.         INTRODUCTION 
                                                                     
                           OBJECT ORIENTED PROGRAMMIN (OOPS) is a 
                           programming  paradigm  based  on  the  concept  of 
                           objects, which contain data in the form of field and                                                                                                                  
                           codes  in  the  form  procedure  (method).  The  object                                                           Fig1.1 Types of Abstraction 
                           oriented approach views a problem in terms of object                                                                                    
                           involved rather than procedure for doing it. Now the                                           See a simple example of abstraction in header files. 
                           question arises „What is object‟? Well an object is an                                          
                           identifiable  entity  with  same  characteristics  and                                             Program to calculate the power of a number: 
                           behavior.                                                                                       
                           1)  OOPS languages are diverse but the most popular                                            #include  
                                 ones  are  class  based  meaning  objects  are                                           #include 
                                 instances  of  classes,  which  also  determine  their                                   Using namespace std; 
                                 types.  significant  OOPS  languages  includes                                           int main () 
                                 JAVA, C++, C/,PYTHON,PHP, JAVA SCRIPT,                                                   { 
                                 RUBY,PERL, OBJECT PASCAL, OBJECTIVE-                                                     int n = 4; 
                                 C,DORT,  SWIFT,  SCADA,  LISP,MATLAB                                                     int power = 3; 
                                 AND SMALL TALK.                                                                          int result = pow(n,power);                            //   pow(n,power) 
                             CONCEPT:                                                                                    isthe power function 
                           The  OOPS  has  been  developed  with  a  view  to                                             std:  cout  <<  "Cube of  n is:  " <                                                   boundaries within the program. 
                    Usingnamespacestd;                                                  
                    class Encapsulation                                                                V.      INHERITENCE 
                    {                                                                                                
                    private:                                                           It  is  the  capability  of  one  class  of  things  to  inherit 
                    //      data hidden from outside world Int x;                      capabilities/properties from another class [4]. 
                    public:                                                             
                    //      function to set value of 
                    //      variable x 
                    Void set(int a) 
                    { 
                    x =a; 
                    } 
                    //      function to return value of 
                    //      variable x                                                                                                                       
                    Int get()                                                                           Fig1.2 Types of class 
                    {                                                                                                
                    Return x;                                                          We  can  clearly  see  that  above  process  results  in 
                    }                                                                  duplication of same code 3 times. This increases the 
                    };                                                                 chances of error and data redundancy. To avoid this 
                    //  main function Int main()                                       type of situation, inheritance is used. If we create a 
                    {                                                                  class Vehicle and write thesethree functions in it and 
                    Encapsulation obj;                                                 inherit the rest of the classes from the vehicle class, 
                    obj.set(5);                                                        then we can simply avoid the duplication of data and 
                    cout<
The words contained in this file might help you see if this file matches what you are looking for:

...Dec ire journals volume issue issn concepts related to object oriented program oops basics vishal vaman mehtre utkarsh raj verma assistant prof department of electrical engineering bharati vidyapeeth deemed university college pune abstract this paper gives us the basic information programming approaches these are as it also follows provides concept and parameters such data abstraction ii dataabstraction encapsulation modularity inheritance polymorphism classes tend be overly refers act representing essential features generalized which make relations among without including background details or becomes artificial at time explanation programs tricky in design so with one needs have proper skills since codes more near real world models programmer must think terms i introduction programmin is a paradigm based on objects contain form field procedure method fig types approach views problem involved rather than for doing now see simple example header files question arises what well an identi...

no reviews yet
Please Login to review.