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
lana66690 [7]
3 years ago
8

What is the output of this program?

Computers and Technology
1 answer:
Wewaii [24]3 years ago
5 0

Answer:

6 +4 + 6 +4

Explanation:

It will start from index 0 and wherever you find the character inside the indexOf methods then you will note it down.

You might be interested in
Can anybody answer this
shutvik [7]

Answer:

Its the last one, CSS and HTML are similar but like it says some prefer one over the other.

6 0
3 years ago
Read 2 more answers
Where might the Null Object pattern be useful?
Tanzania [10]

Answer:  Null Object pattern be useful when the absence of an object can be encapsulated by other alternatives which does not have any have any effect.

Explanation:

public interface Rectangle {

double area();

   double surfaceare();

   boolean isNull();

}

In the code above we have a function for null object. So in the absence of an object we have encapsulated with a method of null which does not do anything. It simplifies the use of dependencies that can be undefined.

In case of collaborator the NULL object pattern makes use of the existing collaboration instead of defining a new one.

It also enable to abstract the handling of null objects from the client so that internal details of the program are not know to outsiders.

5 0
3 years ago
Roads in urban areas are generally ___.
Ksju [112]

Answer:

D is the answer

Explanation:

Urban roads tend to be wider. Sometimes they are more interesting, but that does not always have to be the case. D

They are usually paved, especially in Canada and the United States. I have not seen very many urban roads that are not paved, even those of the edge of the urban areas. Not C. Not B either.

Few are narrow although there are exceptions. White Avenue in Edmonton Alberta is 4 lanes but it still seems narrow to me. It is very interesting however.  Not A

4 0
3 years ago
Read 2 more answers
Does any one have 2 reasons it would be a good idea to have a glow in the dark TV.
snow_lady [41]
1. be able to see function keys and input and output ports on the back
2. never lose your tv in the dark
5 0
3 years ago
g Write a function called chain_words(str) which takes in one parameter which is a string that holds multiple words separated by
Oduvanchick [21]

Answer:

Explanation:

The following is written in Python. The function takes in a string as a parameter. It then sperates the string at every space. Then it rejoins the list of strings with hyphens. Finally, returning the newly created string with hyphens.

def chain_words(str):

   string_split = str.split(" ")

   seperator = '-'

   hyphen_string = seperator.join(string_split)

   return hyphen_string

7 0
3 years ago
Other questions:
  • When your Windows XP file becomes too large to fit in a single window, which of these components allows you to bring different p
    6·1 answer
  • When pasting information copied from a Word document into an Excel spreadsheet, click in the cell that will be the _______ of th
    7·2 answers
  • What will empty the log of Internet sites you have recently viewed
    12·2 answers
  • Arrange the steps below to outline what maia needs to do to accomplish this task.​
    9·1 answer
  • Partes de la ventana principal de Microsoft excel 2013 con sus respectivas funciones
    14·1 answer
  • Im lonnnelllly........................who want to date
    11·1 answer
  • I need help!!! i will make you a brainliest!!
    10·1 answer
  • Among your selection in different online interfaces, which are your top three favorites?​
    7·2 answers
  • I'm making a game. I'm trying to make it so that instead of how I currently have it, starting whenever I click the screen, it st
    6·1 answer
  • While a remote assistance session is in progress, what keyboard key(s) can the requestor press to terminate the connection?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!