Jax is creating a variable for a book title. What is the correct format to use?

bookTitle = "Sunrise Over Texas"
book Title = Sunrise Over Texas"
!bookTitle = "Sunrise Over Texas"
bookTitle = Sunrise Over Texas

Respuesta :

Answer:

The correct answer is:

Option 1: bookTitle = "Sunrise Over Texas"

Explanation:

In every language, there are some predefined rules for naming variables.

Some common ones are:

  • There should be no space in variable name.
  • A variable name cannot start with a special character

And as jax has to store the title name of the book, it might consist of multiple words which means that the data type will be string. A string is always written in inverted commas.

So according to the rules and string data type, the correct answer is:

Option 1: bookTitle = "Sunrise Over Texas"

Answer:

Option 1

Explanation:

ACCESS MORE