Skip to content

I explained and demonstrated object-oriented programming with examples.

Notifications You must be signed in to change notification settings

CeyhunAslan/OOP_Object-Oriented-Programming_EXPLANATION

Repository files navigation

OOP--Object-Oriented-Programming-_EXPLANATION

I explained and demonstrated object-oriented programming with examples.

Ekran görüntüsü 2022-03-07 182630

Class

In object-oriented programming, a class is an extensible program-code-template for creating objects, providing initial values for state (member variables) and implementations of behavior.

I showed correct usage. (GitHub Pages)

Constructor

In class-based object-oriented programming, a constructor (abbreviation: ctor) is a special type of subroutine called to create an object. It prepares the new object for use, often accepting arguments that the constructor uses to set required member variables.

I showed correct usage. (GitHub Pages)

Static Class

A static class in C# is a class that cannot be instantiated. A static class can only contain static data members including static methods, static constructors, and static properties. In C#, a static class is a class that cannot be instantiated.

I showed correct usage. (GitHub Pages)

Encapsulation

In object-oriented programming (OOP), encapsulation refers to the bundling of data with the methods that operate on that data, or the restricting of direct access to some of an object's components

I showed correct usage. (GitHub Pages)

Inheritance

Inheritance is the procedure in which one class inherits the attributes and methods of another class. The class whose properties and methods are inherited is known as the Parent class.

I showed correct usage. (GitHub Pages)

Interface

An interface is a programming structure/syntax that allows the computer to enforce certain properties on an object (class).

I showed correct usage. (GitHub Pages)

Abstract

Its main goal is to handle complexity by hiding unnecessary details from the user. That enables the user to implement more complex logic on top of the provided abstraction without understanding or even thinking about all the hidden complexity.

I showed correct usage. (GitHub Pages)

Polymorphism

Polymorphism is one of the core concepts of object-oriented programming (OOP) and describes situations in which something occurs in several different forms. In computer science, it describes the concept that you can access objects of different types through the same interface

I showed correct usage. (GitHub Pages)

Releases

No releases published

Packages

No packages published

Languages