Which of the following is a valid declaration for a variable to store the name of this
textbook?
a. string name of book;
b. char nameOfBook;
c. boolean nameOfBook;
d. string bookName;
e. char book Name;
Correct Option : d. string bookName;
Explanation:
String is dattype in whioch we can store large amount of data and Identifiers shold not contain any spaces