How generic objects can be created

The Eduladder is a community of students, teachers, and programmers just interested to make you pass any exams. So we solve previous year question papers for you.
See Our team
Wondering how we keep quality?
Got unsolved questions?

Ask Questions
Object-oriented-programming-with-c10CS36-unit-2-->View question


How generic objects can be created?

example?


By:Akhil-Raj

Taged users:
||13priya|eduladder|tarun101|Fututron|batsam22|milan-ransingh|pallaviaithaln|metaphor|Akhil-Raj||arun|sharma|rashmi-ah|vijay-patel|divya|sushmithareddy|sowbhagya|batman|Manju-ammu|webee|student|jitmanoj|jesbin|ram|asha|bnsowbhagya|chhaya|neenu2|Nancy-Matthew

Likes:
Be first to like this question

Dislikes:
Be first to dislike this question

Talk about thisDelete|Like|Dislike|


Answers

A generic object is essentially an empty blueprint for an object. You can define it anywhere in your Javascript code.

 We start by using the keyword new and instantiating position as an object. Once we’ve instantiated our object we’re able to create properties of the object. Note that the properties can be strings, floating point numbers integers or a combination of the types.

When referencing the objects and properties elsewhere in the code we use the same dot notation that we used when defining the objects.


batsam22

Likes:
Be first to like this answer

Dislikes:
Be first to dislike this answer
Talk about this|Once you have earned teacher badge you can edit this questionDelete|Like|Dislike|
------------------------------------

Can you help us to add better answer here? Please see this



Not the answer you're looking for? Browse other questions from this Question paper or ask your own question.

Join eduladder!