Pop Quiz

1. What is the programming philosophy that allows you to access objects, properties, methods, and functions of an object without having to know about how the objects are created?

 

 

 

 

 

 

 

 

 

ANSWER: Object-oriented programming

 

2. What is the keyword to declare a variable in JavaScript?

 

 

 

 

 

 

 

 

 

 

 

ANSWER: var

 

3. What is the keyword to create a new instance of an object?

 

 

 

 

 

 

 

 

 

 

 

ANSWER: new

 

4. What is the name of the characteristic that all new objects will maintain the same characteristics of the original object?

 

 

 

 

 

 

 

 

 

 

 

ANSWER: Inheritance