• Register
0 votes


What are the valid indexes for the string 'New York'?
a. 0 through 7
b. 0 through 8
c. -1 through -8
d. -1 through 6

5 3 2
7,520 points

Please log in or register to answer this question.

2 Answers

0 votes


0 through 7

6 4 3
14,580 points
0 votes


String constants is also know as string literal, it is special type of constants which store fixed sequences characters. String constant is set of characters enclosed double quotes. For example string constant consists of 5 exclamation mark will be '!!!!!' , and empty string or null string will be like "". It occupy two bytes. String constant allow model to be adjusted as strings. String constant size is number of bytes associated with string plus one additional byte for terminating null byte. The character written in double quotes are automatically know as string by the D compiler.

15 10 7
8,940 points

Related questions

0 votes
1 answer 7 views
Problem: I want to know about the different types of indexed in Oracle.
asked Apr 17 niyatiry 3.9k points
0 votes
1 answer 2 views
Problem: I used Google to try to find a solution on the web for the types of indexes in oracle 10g with example. But I got no useful hints. Can I get Pointer information about my problem with this?
asked Mar 30 zayed1 58.7k points
0 votes
1 answer 4 views
Problem: What do Clustered and Non clustered index actually mean?
asked Apr 21 sumaiya simi 43.9k points
0 votes
1 answer 87 views
Problem: How do we insert new records in a database?
asked Mar 3 Code Learner 9.8k points
0 votes
1 answer 3 views
Problem: Why then are the common databases so choosy about which parts of the standards they adhere to, and why have no 100percent standards-compliant systems come to the fore? Are the standards 'broken', lacking in scope or too difficult to design for?
asked Apr 18 ummesalma 29.2k points
0 votes
1 answer 52 views
Problem: Hi there! I am learning SQL. Somewhere I saw a multiple choice question in which a list of terms was given and I had to choose the terms that refer to the commands used to create or modify database tables and columns. Following is the list of keywords: ... of most of these commands. I have learned only basics yet. If someone could explain all these commands, I would be grateful. Thanks!
asked Jan 16 Code Learner 9.8k points
0 votes
1 answer 9 views
0 votes
1 answer 6 views
Problem: I need to know what's the difference between the following two statements: TimeZone.getTimeZone("America/New_York") and TimeZone.getTimeZone("EST") In other words, why is EST different from America/New_York. Also in my application, to get the current time zone in US, should I use America/New_York or EST.
asked Apr 19 Jack20 5.1k points
0 votes
1 answer 2 views
Problem: At work, we have a big database with unique indexes instead of primary keys and all works fine. In DB theory, primary key is a fundamental element, that's OK, but in REAL projects what are the advantages and disadvantages of both? What do you use in projects?
asked Apr 10 ummesalma 29.2k points
0 votes
1 answer 4 views
Problem: Is anyone available to assist me and resolve this issue > What is the statement to show column names and settings of a table called mytable?
asked Apr 26 ummeshani 9k points