#18 JavaScript Tutorial | Objects p.2

preview_player
Показать описание
JavaScript is an Object Oriented Programming (OOP) language. A programming language can be called object-oriented if it provides four basic capabilities to developers −
Encapsulation − the capability to store related information, whether data or methods, together in an object.
Aggregation − the capability to store one object inside another object.
Inheritance − the capability of a class to rely upon another class (or number of classes) for some of its properties and methods.
Polymorphism − the capability to write one function or method that works in a variety of different ways.
Objects are composed of attributes. If an attribute contains a function, it is considered to be a method of the object, otherwise the attribute is considered a property.
Loosely speaking, objects in JavaScript may be defined as an unordered collection of related data, of primitive or reference types, in the form of “key:value” pairs. These keys can be variables or functions and are called properties and methods, respectively, in the context of an object.
Video by - Tanmay Sakpal
Рекомендации по теме
Комментарии
Автор

Can you show us shortcut u are using in keyboards so that we can gain the same speed as you

pallavishaw
Автор

Excellent explanation Tanmay! Simple, yet clear! 💚

soumadip_skyy_banerjee
Автор

thank you @telusko for providing such marvellous

shivanimandla
Автор

Please add more videos on class and related concepts .

HashiliMuhammed
Автор

this is the only video where are example about how objects work ) very nice you are best in the world tell me how I can find another your video? or your own chanel

timzeynalov
Автор

Thank you sir, you provide excellent explanations

dhokiarinidh
Автор

Sir agar constructor through object banaye aur usme kise attribute add kare toh uska affect sabhi object per hoga ya phir jisme update kiya hai usme hoga.

mathstalkswithruchika
Автор

Sir you can also use class and constructor keyword for creating Class

maheshvangala
Автор

Does this playlist contains full JavaScript course ?

shourrryya
Автор

Bro what U use in you VS editor adds for that it help see what u can you with the event. Like helper.U put coma and it start showing u many option what u can use.

tomasmatusek
Автор

I am using eclipse for javascript development. but i am getting nullpointerexception when open the JS file. editor is not showing the code can u pls assist me on this?

hemavathit
Автор

function Car(car_brand, car_model, price)
{
this.car_brand = car_brand;
this.car_model = car_model;
this.price = price;
this.testautopilot() = function()
{
document.write("Learning objects in JS");
}
}

var c1 = new Car("mustang", "model9", 60000);
c1.testautopilot();





Nothing is getting printed in the browser.
Can you please tell me where I am going wrong?

paramitapaul
Автор

Can we delete and add new property of an object by the second method you say in the previous video?

siddharthadey
Автор

Is there a way to add properties to an object if we are defining them as a function instead of a variable?...please let me know if the question isn't clear...i shall elaborate

Orchishman
Автор

Are you sure String with literal value is a primitive data type and not an object?

suhash
Автор

why telusko uses videos from the simple snipets.

sivakumar.k
Автор

How to display the all contents of object?

Mia-tfpl
Автор

btw sir what is the use of object of data types(in the real world) 3:20

fun-ihsc
Автор

bro you tell peace at the end of each lesson why????

savitahanchinal
welcome to shbcf.ru