Concepts of OOPs

13
CONCEPT OF OOPS ASSIGNMENT HELP By : Essaycorp

Transcript of Concepts of OOPs

CONCEPT OF OOPS

ASSIGNMENT HELP

By : Essaycorp

TABLE OF CONTENTS

1. WHAT IS OOPs ?2. SOME BASIC TERMS3. CONCEPTS OF OOPs

▪ Inheritance▪ Encapsulation▪ Abstraction▪ Polymorphism▪ Overloading

4. ABOUT US5. THANK YOU

WHAT IS OOPs ?OOPs is Object Oriented Programming. It is a type of programming which helps the programmer to define not only the data type of a data structure but also the types of functions.

Examples of OOP language include JAVA, C++ and Visual Basic.NET

SOME BASIC TERMS

OBJECT - An object contains data and the methods that can manipulate the data, it have field and variables. Every object is an instance of a class.

CLASS - Class is a collection of objects which is composed of name, attribute and operations.

SOME BASIC TERMS

CONTINUES...

ATTRIBUTE - Things which describes an object is the attribute of an object.

CONSTRUCTORS - A constructor is invoked automatically whenever an object is created. A constructor name is same as class name.

CONCEPT OF OOPsThe basic concepts of OOPs are:

● Inheritance● Encapsulation● Abstraction● Polymorphism● Overloading

● Inheritance is a method by which objects of one class inherit the properties of another class.

● It provides the ability to reuse the written code again and again.

● The class which inherits something is known as base class.

● The class whose content is inherited is known as base class.

● Derived class can use all the functions of base class.

INHERITANCE

ENCAPSULATION● The wrapping up of data and functions into a single unit is known as

encapsulation.

● Encapsulation is also known as data binding.

● Data is unreachable by the outside functions.

● Only the functions that are defined within a class can access the

data.

ABSTRACTIONAbstraction refers to the process of representing

essential features without showing the background details.

POLYMORPHISM● The word “polymorphism” means ability to take more than

one form. It provides ability to process the data in more than one form.

● Same function can act differently in different classes.

OVERLOADING● When an operator or function can perform more than one

function.● There are two types of programming

o Function overloadingo Operator overloading

Contact us at :

https://www.essaycorp.com/c-plus-plus.html

About Us The assignments written by our professionals are always worth and deliver the best output. At Essaycorp, a panel of experts is involved in object oriented programming assignment help. They implement their knowledge with the effective words which comes out as a well attempted assignments.All these experts are not only skilled, but they are also experienced. Hence, it is our assurance that you will get high quality work from us.

THANK YOU