View on GitHub

marymafa.github.io


layout: post title: Research date: 2017-08-10 —

Object

When an object is created, it gets itself a memory and apart from overhead memory , it takes up the space for the underlying variables defined in the class of that object. E.g an object may be student having name, ID , address as variables.

Method

Is a fution of an object.

Variable

Is something which stores data.

Fuction

Is a bunch of code which can be executed,also can store data and values.