0901 The data type is used to store individual characters Se
09-01) The data type is used to store individual characters Select one: a. string b. char C. bool d. int
Solution
1.
The Character data type is used to store individual characters.
Option b is correct choice.
2.
pear is stored as follows
letter = r;
Option c is correct choice.
3.
A string within a string is substring.
Option c is correct choice.
4.
The IndexOf and LastIndexOf methods returns an integer value indicating the string position of a substring within a string object.
Option b is correct choice.
5.
The substring method can be used to retrieve a specific set of characters from a string.
Option c is correct choice.
| p | e | a | r |
| tree[0] | tree[1] | tree[2] | tree[3] |
