If String str = "United States";, then what is the value of str.indexOf("united");?

−1
0
1
2
3

Answers

Answer 1

Answer:

-1

Explanation:

due to the fact their is no capital "U" it will -1


Related Questions

Write a program Gas.java that computes and displays the price a person will pay for gas at the gas station. The program takes three command-line arguments: two double arguments referring to the price per gallon, and the number of gallons of gas, and one boolean argument referring to whether the person pays cash or credit (true for cash, false for credit). If the person pays with a credit card, there is an extra charge of 10% of the total price. Gas is never free. A person stopping to buy gas will always buy some amount of gas. Print the error message "Illegal input" if any of the double inputs is zero or negative, and end the program.

Answers

Answer:

double price, number, total;

boolean payment;

Scanner input = new Scanner(System.in);

System.out.print("Enter Amount of Gas: ");

price = input.nextDouble();

I've added the full source file as an attachment.

Where I used comments to explain difficult line

Explanation:

Which statement best illustrates the relationship between three different
elements of the circular flow of products?
O A. Households pay wages to businesses, which can then set up
product markets.
O B. Product markets offer labor to businesses, which creates jobs for
households.
O C. Businesses create goods for product markets, which sell them
directly to households.
O D. Resource markets sell goods to product markets, which sell the
goods to businesses

Answers

Answer:

C

Explanation:

GDP can be represented by the circular flow diagram as a flow of income going in one direction and expenditures on goods, services, and resources going in the opposite direction. In this diagram, households buy goods and services from businesses and businesses buy resources from households.

Which shape is used as a start or end?
a paralleogram
a rounded rectangle
a rectangle
a diamond

Answers

Answer:

rounded rectangle

Explanation:

I jus looked it up lol

In an "and" operator only ONE value has to be true to activate the if block
Yes or No
(Scratch Coding)

Answers

If the "and" operator is present, BOTH conditions must be True in order for the if block to be activated.

Answer:

No

Explanation:

8. It is a computer component that converts AC power to DC power to be used
by the computer system.

Answers

Answer:

power supply unit.

A power supply unit (PSU) converts mains AC to low-voltage regulated DC power for the internal components of a computer. Modern personal computers universally use switched-mode power supplies.

Explanation:

I HOPE THIS HELPS

PLZ MARK ME AS BRAINLIEST

THANK U!

What are the two reasons we analyze algorithms?

Answers

Answer:

the most straightforward reason for analyzing an algorithm is too discover its characteristics in order to evaluate its suitability for various applications or compare it with other algorithms for the same application

Which statement is true about asking questions while reading?
It is a system that keeps readers from understanding a text's purpose.
O It is a strategy that readers use only when reading textbooks.
O It is a system that strong readers do not use.
O It is a strategy that helps people be active readers.

Answers

Answer:

It is a strategy that helps people be active readers.

Explanation: Poggers m8

Answer:

D

Explanation:

Magsulat ng ilang mga paalala sa paggawa ng proyektong Series Circuit
1._______________________________________________

2.______________________________________________

3.______________________________________________

4.______________________________________________

5.______________________________________________

PLEASE HELP ME​

Answers

Answer:

mag ingat,dapat d basa ang kamay,ayusin ang posive at negative na hindi maghalo,kong may electric tape mas safe..

Explanation:

yun yung tips ko kasi nakagawa na kami non ay yop 1 yung samin

Even after charging your smartphone for several hours, it still appears completely turned off and will not tum on What should you try next to restore it
to health?
A.)submerge it in a bag of rice for 24 hours
B.)perform a hard reset
C.)perform a soft reset
D.)plug it into a charger for another hour

Answers

B. Perform a hard reset. Hold home and power I think.

Answer:

C: perform a soft reset

Explanation:

Just took the test, got 100.

what are the software is there ? their uses

Answers

Answer:

Computer software is programming code executed on a computer processor. The code can be machine-level code, or code written for an operating system. An operating system is software intended to provide a predictable and dependable layer for other programmers to build other software on, which are known as applications.

I’m sorry but I don’t think you worded that correctly

-
Which of the following is an example of academic integrity?
A. You work on each assignment mostly by yourself
B. You don't copy work or allow others to copy your work
c. You look up answers on the internet without citing the source
D. You work with close friends on assignments without instructor approval

Answers

Answer:

B. You don't copy work or allow others to copy your work

Explanation:

The example of academic integrity is that you don't copy work or allow others to copy your work. The correct option is B.

What is academic integrity?

The moral code or ethical policy of academics is known as academic integrity. The R.C., regarded as the "grandfather of academic integrity," popularised the phrase.

Being honest, fair, polite, and responsible in your studies and academic work is referred to as having academic integrity.

It entails acting in accordance with these ideals both when producing your own work and engaging with that of others.

Academic integrity is the practise of doing learning, teaching, and research with the principles of honesty, trust, fairness, respect, and responsibility.

Students, teachers, researchers, and all other staff members should act honestly, take responsibility for their choices, and be fair in all aspects of their job.

Thus, the correct option is B.

For more details regarding academic integrity, visit:

https://brainly.com/question/9540934

#SPJ2

Select ALL the correct answers.
In attempts to improve their contribution to the environment a company decides to adapt green computing. Which of these techniques will contribute to green computing?
A.virtualization
B.grid computing
C.recycling
D.autonomic computing

Answers

Answer:

c. and a.

Explanation:

I think thought are right because you have to adapt the green

Answer:

A. Virtualization

C. Recycling

Identify the correct characteristics of Python numbers. Check all that apply.

1. Python numbers can be large integers.

2. Python numbers can be complex values such as 12B16cd.

3. Python numbers can be floating-point numbers.

4. Python numbers have numeric values.

5. Python numbers are created automatically.

Answers

Answer:

The answers are 1, 2, 3, and 4

Explanation:

i just did it on edge

Answer:

The answers are 1, 2, 3, and 4

Explanation:

im simply good

Fred is interested in creating marketing materials for video games. Which of the following occupations should he pursue?


texture artist

video game designer

graphic artist

video game artist

Answers

Answer:

The answer above is wrong well at least for odyssey ware!!

Explanation:

I think D

What is the output?
password = "sdf# 356"
>>> password. isalnum()

Answers

The output is False because the string password contains #.

Answer:

The answer is False.

Explanation:

The answer is false becasue it has other characters than letters and numbers.

Have a great day, I hope this helped.

What is one step taken when solving a computer software problem?

Answers

scanning the computer and deleting any viruses

[ if this helped you please give brainliest :) ]

Answer:

B. scanning the computer and deleting any viruses

Explanation:

edge 2020

when four consecutive numbers are added the sum is 46 find the integers plss anyone help me​

Answers

Answer:

The integers are 10,11,12,13

Explanation:

At first form an equation,

Let,

x = first number

x + x+1 + x+2 + x+3 = 46

Now solve the equation and youll get the answer,

x=10

For the other numbers,

x+1=11

x+2 = 12

x+3 = 13

When dealing with perspective, _____ lines are used or implied.

Answers

Answer:

I'm pretty sure the answer is vanishing lines.

Explanation:

the way information from my computer is given back to the user is called​

Answers

Answer:

Add answer???

Explanation:

how dependent are we on technology? ​

Answers

very independent  : ) we use it for everything

________ were developed to allow computers to communicate using networking standards.
A. Nodes B. Sound cards C. network interface cards
A ______ is an interconnection of computers sharing data and peripherals.
A. Node B. Network C. peripheral
A ______ is any computer or digital device (wired or wireless) using the network to exchange data between other computers.
A. Nodes B. Network C. Analog
Walking the data to someone else is called ______.
A. Network B Sneaker-Net C. peripherals
_______ transformed computing by they providing fast, easy access to messages or data and to other users.
A. Digitals B. Peripherals C. Networks

Answers

1.) Network interface cards

2.) Network

3.) Nodes

4.) Sneaker-net

5.) Networks

Answer: Trust the person up top

Explanation:

So this is not exactly a question but I can’t find the answer anywhere else. Also if you answer this, please do, I will give you brainliest.



What does the blue circle with the i in it mean on EBay?

Answers

Answer: Well, in transit means "in the process of being transported" according to Merriam Webster, so I would think that would mean that it is being shipped from China over to America (Or wherever you may live) currently. Hope this helped!

Explanation:

does anyone know what type of Honda this is and the year of it lol this isn’t school related

Answers

my car guy boyfriend said that he thinks its a van due to the space and its definitely a newer Honda but not sure what year. he said don't quote him on it  tho lol

i think it is a or c is it right?

Answers

C
She is emailing her boss that something is wrong.

Select all that apply.
In the File tab, you can:
send documents as e-
mail attachments
post documents as blogs
export documents as PDF/XPS
record document macros

Answers

Answer:

send documents as e-mail attachments

post documents as blogs

export documents as PDF/XPS

What is the purpose of an IP address?
A identifying source and destination of data
B. creating images on websites
C. drawing tables on a spreadsheet
D. arranging packets of data correctly

Answers

pretty sure the answer is A!

Joann now wants to create a building block for the name of her company. She outlines the steps she needs to take to access the Create New Building Block dialog box. What does Joann need to change in her outline? Check all that apply.

Answers

Answer: D. She needs to revise step 4

Explanation: Just took the assignment on edge.

Answer:

D. She needs to revise Step 4

Explanation:

Edge 2020

Which of the following statements are true regarding models? Select 3 options.
Models help you understand a complex situation by including all of the details.
In a model, the general characteristics are separated from the details.
Models help communicate a design.
Models help predict how a specific solution will respond.
Models represent the system or problem at a detailed implementation level.

Answers

Answer:

Models help predict how a specific solution will respond

In a model, the general characteristics are separated from the details

Models help communicate a design

Explanation:

I got 100% and I want to help you

(02.05 LC) What is an example of a web browser? Bing Firefox Instagram Yahoo

Answers

Answer: Firefox

Explanation:

Bing and Yahoo are search engines. Instagram is an example of social media. Firefox is a wed browser. A web browser is a window that allows you to open up new tabs. the other three are examples of tabs you can open with Firefox.

Answer:

firefox

Explanation:

Give me 2 examples of Monthly Cash Inflow: (2 points) *

Answers

Answer:

cash payments for goods and services; merchandise; wages; interest; taxes; supplies and others.

Explanation:

Answer:

1. Key cash flow drivers should be modeled explicitly.

In our example, a retail store business should start with the number of stores it plans to operate each month, then build up from there, based on the number of square feet and sales per square foot.  This will help the business to compute its revenue.

2. Inputs should only need to be input once.

It is important to group all inputs in the assumptions section so users can easily find, add, and modify them.

Explanation:

Other Questions
Jenny & Natasha are working on a problem together: Solve 3+8=2. Natasha thinks the first step is to multiply by 3. Jenny explains that this is not the most efficient way to solve. Explain who is correct & justify your reasoning. If Mthe mBD.E Which word is most clearly used denotatively?A well-groomed cat has a delightful fragrance, while dogs are typically. Filthy and inclined to stink.A. StinkB. DogsC. FragranceD. typically Which of the following is an example of homeostasis? Use the distributive property to write an equivalent expression.2(n+8p) brainliest will be awarded if uu give the correct answer:)))- [tex]\frac{5}{8}[/tex] + [tex]\frac{3}{8}[/tex] Explaining a Rule for Dividing FractionsExplain the steps you would take to find the quotient of13 43 Describe an Oligarchy. Which countries have this type of government? How do Samantha's asides contribute to the meaning of the drama?Click to read the play.A. They describe her true feelings about the family yogurt business.OB. They tell what Samantha will do with themoneyshe earns.O C. They reveal how Samantha narrows the focus of her job hunt.O D. They explain why Samantha values Nadia's opinions. Why doesnt Mr. Woodifield want to leave the bosss office? Whats the answer???? THERE ARE THREE OPSIONS CHOSSE ALLWhy were delegates from New York not pleased with the Constitution?They did not like the name of the document.They did not want to give up so much authority to smaller states.They were not pleased with the compromises.They wanted someone else to write the document.They wanted a greater voice in the national legislature. Under normal conditions, gases diffuse through small holes in the leaves of a plant. When the weather is very hot and dry, plants may close these openings to conserve water. How are the closures most likely to affect photosynthesis? O They increase the rate of photosynthesis by increasing the amount of water in the leaf They decrease the rate of photosynthesis by preventing carbon dioxide from entering the leaf They increase the rate of photosynthesis by increasing the amount of oxygen in the leaf They have little or no effect on photosynthesis because gases do not take part in the process Which issue did the Great Compromise resolve?A. how much, if any, representation to give slavesB. whether the states' representation should be equal or proportionalC. how much power to grant to the central governmentD. what the relationship would be between the executive and judicial branches what is a point-slope equation of the line with slope -10 that goes through the point (1,4) answer for immediate brainliest uehfeoierkghlkwehglubn;oruitoetuhelp What's 10% off of $124.50 1. What are the two reasons Fish argues for why colleges and universities should not speak out on controversialpolitical issues? why was the declaration of indepence a necessary document for the founding of the new nation?