225k views
3 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 StaticBR
by
4.9k points

1 Answer

0 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 Jimh
by
5.5k points