1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
sweet-ann [11.9K]
3 years ago
7

*please help*

Advanced Placement (AP)
1 answer:
Minchanka [31]3 years ago
6 0
Answer:
1. Prints “o”
This is because charAt returns with the character(a,b,c,etc) at the index. In this case it’s 4. It’s important to remember that the charAt searches for the character at the index and not literal place. The string starts at 0 instead of 1. So h = 0, e = 1, l = 2, l = 3, o = 4.
2. Prints “5”
The str.length() method prints out the literal count of characters in a string. Starting from 1 instead of 0. “hello” has 5 characters(the word letters can’t be used as the method also counts spaces and other symbols).
3. Prints “he”
The substring method prints out the characters from the first index parameter, in this case “h” since it’s in the 0 index, to the last character before the last index parameter. This would be “e”. If it were a longer length then those letters in between would be printed as well.
You might be interested in
Dry areas caused by sinking air and diverging surface winds are located at which two latitudes?
Ahat [919]

Dry zones generated by sinking air and diverging surface breezes may be seen at the latitudes 30° N and 30° S.

These arid places can only be found at these latitudes in the north and south.

3 0
3 years ago
(With out plagiarism)
aksik [14]

Answer:

It spread quickly through practices of trade, warfare, and diffusion characteristic of this period." I. Improved transportation technologies and commercial practices led ... SILK ROAD NETWORK The Silk Roads continued to focus on luxury

Explanation:

7 0
3 years ago
Express the human values that govern the relationship between group members and contribute to the continuity of the group.
umka2103 [35]

Answer:

yd

Explanation:

hdhwdjs

hehejejej

hehejee

hrhh

nsjthe

hehwhr

hwhehhr

jwjjdhw

jwjrhjw

8 0
3 years ago
Read 2 more answers
Develop an argument that explains whether the Electoral College facilitates or
myrzilka [38]

Answer: The Electoral College as currently implemented impedes democracy. The framers of the Constitution envisioned a gathering of well-informed representatives from the states who would bring the concerns of the citizens to the attention of the rest of their colleagues. The goal was to select a President who would be able to guide the federal government in its decisions and policies in such a manner as to bring the most benefit to the nation while being mindful of issues of concern to various individual states and regions. The electors were intended to be free to vote their consciences in light of the discussion and debates that would take place. They were to select the best candidates and select a president and vice president. It was a sensible method, especially in view of difficulties in travel and communications at the time-- long before highways, planes, telephones and the internet had been invented.

Such is not current practice. As political parties took over the nominations process, and states passed laws to restrict electors to voting only for the candidates who won the majority of votes in each state, the Electoral College has become a meaningless formality. It is a numbers game that allows TV networks to project winners long before all the ballots have been counted. It has resulted in the election of President Bush, in 2000, an President Trump in 2061 despite the overall majorities of the popular vote having been cast for their opponents, Al Gore and Hillary Clinton.

Explanation: This will not fulfill the requirements of the assignment to quote from the sources and respond to an opposing perspective. It should, however, present a perspective for you to develop-- or to argue against.

5 0
3 years ago
Read 2 more answers
Question 6 of 10
NikAS [45]

Answer:

easy to contact

Explanation:

4 0
4 years ago
Other questions:
  • What human rights were infringed upon oscar pistorius?
    8·1 answer
  • According to Erikson, development occurs in
    9·1 answer
  • Help With This Please!
    6·1 answer
  • How does the culture of the people reflect in victorian architecture?
    13·2 answers
  • Read the sentences from the passage.
    12·1 answer
  • What is a good topic for an informative speech?
    12·1 answer
  • Which of the following is heaviest?<br><br> Proton<br> Electron<br> Quark<br> Photon
    10·1 answer
  • One of the most important factors in helping to stabilize a developing country’s population an developing environmental degradat
    10·1 answer
  • WILL MARK YOU BRAINLIEST!<br> Hurry please im on a time limit (answer only if you know!)
    8·1 answer
  • Is it better to write in MLA or APA format? And why
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!