Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

What are the basic concepts of object oriented programming?

user-image
Question ajoutée par Yasmeen Husam , Web Developer , Al Fahid Systems
Date de publication: 2019/01/31
Rakesh Kumar
par Rakesh Kumar , Senior Software Developer , YorkWebSolution

OOP programming is a terminology related to class, objects and other concepts like Inheritance,  Abstraction, Encapsulation, Polymorphism etc.

Ibrahim Ismail
par Ibrahim Ismail , .net developer , Department of Information Systems of the armed forces

Inheritance, Polymorphism, Abstraction, Encapsulation

 Encapsulation, Abstraction,Inheritance and Polymorphism

Noman Zia
par Noman Zia , Head of Development , Prismpay Solutions

Four Building blocks of OOP programming are Inheritance, Polymorphism, Abstraction, Encapsulation

Omar Hassan
par Omar Hassan , Software development Team leader & International Business Development Manager , SUNSON TECH

Class, Object, Encapsulation, inhertience, polymorphism. 

Dhanalakshmi N
par Dhanalakshmi N , Network Administrator

Class, Objects, Polymorphism, Inheritance, Encapsulation and Abstraction

Fahad Asif
par Fahad Asif , Students , uaf

bject-Oriented Programs mainly based on Object's Properties and Behaviours.

Shihabudheen US
par Shihabudheen US , Member of Technical Staff , Salesforce

Object-oriented programming uses objects in programming. It aims to implement real-world entities like inheritance, hiding, polymorphism etc in programming. The main aim of OOP is to bind together the data and the functions that operate on them so that no other part of the code can access this data except that function.

Ehab Al-bakri
par Ehab Al-bakri , Software Developer , B12 for digital services

is techniques based on objects and classes

Duminda Hettiarachchi
par Duminda Hettiarachchi , Java / PLSQL Developer , Napera Software Solutions

Object-Oriented Programs mainly based on Object's Properties and Behaviours. 

For an example, a Student is a real-world object. Student id, name, age can define as Property Data. Further Student activities such as upload the assignment, log in to the system, update profile can be defined as behaviours. Before entering into Object-oriented programming, you should be able to identify objects and their properties, behaviours. 

Next important thing is How to apply Objects into the program. For this, We use classes to represent the object in the program. The class is blueprint or template for the object.  For this, you can use any kind of object-oriented programming language to represent an object in the code. Following example used show Student object using Java Programming Language.

Ex -

Class Student {

  int id;

  String name;

  public void loginToSystem(){

  }

}

After that you should creating instance of the class for represent , single instance of the object.

Example - when need represent following student info represent in program

Student ID:   Studnet Name: Anne

Create an Object

Student s1 = new Student();

s1.id =

s1.name = "Anne"

In addition, you have to learn many more things inside these concepts. I just highlighted the key topics required for Object-oriented programs.

 Finally, after learning the basic key topic of objects oriented programs, you should follow the best practice of object-oriented programming. Simply develop programs using Object-oriented Principles.

1. Encapsulation

2. Inheritance

3. Abstraction

4. Polymorphism

You may refer to Oracle or any other OOP tutorial web site to learn Object Oriented Concepts deeply.

Abduljalil Alrumaih
par Abduljalil Alrumaih , Electrical Project Engineer , Yokogawa

Is a programming methods related to concepts of Class, and Objects.

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?