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?



Taged users:

Be first to like this question

Be first to dislike this question

Talk about thisDelete|Like|Dislike|


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.


Be first to like this answer

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!