Coder Social home page Coder Social logo

classdesc's Introduction

classDesc

stack

Stack eslinde bir temporary olan computerin RAM memorysinin bir hissesidir. Hansisa bir variable declare olunanda o variable temporarily yuklenir stack-a , lakin bu funksiya exit olunanda butun ona mexsus variable-lar freed olunir (yeni delete olunur).Stack-a butun variable-lar FILO (first in,last out) qaydasi ile yazilib pozulur: birinci yazilan variable axirinci pozulur ve vice versa.Stack relatively daha bir stable memory sayilir.

heap

Heap Stack kimi user-le hele de yaxindan control olunmur ve user ona hemise secondary yolla reference eliye biler. C dilinden emele gelen bezi funksiyalar buna da komek eliye biler, such as callog() ve s. Heap-da yazilan variblar stack-a referencce eliye bilerler, mesele ucun bir array-in daxilinde olan variabllar stack-a baib oradan bir value goture bilerler.Stack-a nisbeten Heap daha dynamic bir part of memory-dir.

value type

Eslinde Stack-da yazilan variable-lar value data type sayilir . Value typelar temporarydir, onlarin qiymetleri deyise biler, ve variable-larin ozu de delete oluna biler

Reference type

Reference type olanlar ise obyektin ozunu yox amma stack-da yerlesen variable-lardan bir refernce alirlar.Mesele ucun HEAP var array = [a,b,c]; // arrayin icinde olan variablelar stack-a reference eliyirler STACK var a = 5; // stack-da yerlesen variablar temporary olmaglarina baxmayaraq HEAP-deki array-a reference verir var b = 7; var c = 1;

Class

Class eslinde obyekt ve ya obyektlerin bir qelibi sayilir. Biz classlari obyekt yaradanda constructor kimi istifade ede bilerik. Bundan elave classlar bir nece obyektin common property ve characteristics -lerini saxliya bilir.

Object

Obyekt eslinde Classlin bir instance-i sayilir. Objectin abstract (yeni ozune mexsus) ve eyni vaxtda onun qeilibi ile common property ve characteristicsleri ola biler

classdesc's People

Contributors

iq01660 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.