Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What are the basic concepts of object oriented programming?

user-image
Question added by Yasmeen Husam , Web Developer , Al Fahid Systems
Date Posted: 2019/01/31
Rakesh Kumar
by 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
by Ibrahim Ismail , .net developer , Department of Information Systems of the armed forces

Inheritance, Polymorphism, Abstraction, Encapsulation

 Encapsulation, Abstraction,Inheritance and Polymorphism

Noman Zia
by Noman Zia , Senior Software Engineer , NANOSOFT TECHNOLOGY

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

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

Class, Object, Encapsulation, inhertience, polymorphism. 

Class, Objects, Polymorphism, Inheritance, Encapsulation and Abstraction

Fahad Asif
by Fahad Asif , Students , uaf

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

Shihabudheen US
by 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
by Ehab Al-bakri , Software Developer , B12 for digital services

is techniques based on objects and classes

Duminda Hettiarachchi
by 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
by Abduljalil Alrumaih , Electrical Project Engineer , Yokogawa

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

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.