312,703 views
31 votes
31 votes
If we have a book object but we do not give it a "subtitle" property, the following code will return undefined. bar len = book.subtitle.length;

a) true
b) false

User Remul
by
2.7k points

1 Answer

12 votes
12 votes

Answer:

The answer is "Option a"

Step-by-step explanation:

In the given question, this statement is true because in this bar len as a reference is declared that creates a book class object that calls the subtitle length method, that's why it is true.

User Acmerfight
by
2.8k points