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
ira [324]
3 years ago
13

If string str1 = "forest" and string str2 = "school", then what is the value of str1.compareto(str2);?

Mathematics
1 answer:
REY [17]3 years ago
8 0
<span>This is an java command program. String 1 is stands for str1= '' forest '' accepted within quote marks. String 2 is stands for str1= '' school'' accepted within quote marks the command compareto will cause the output will display as shown below : str1.compareto(str2); when run this command we will get the output like this ; forest school ================================================== the model program is like this; { String str1 = " forest " ; String str2 = "school "; System.out.println(); System.out.println("String 1: " + str1); System.out.println("String 2: " + str2);</span>
You might be interested in
There was a population of 80 fish in a National Park. After a year, the population increased by 5%. How many fish are there in t
Vaselesa [24]

Answer Its 84

Step-by-step explanation:

80 plus 5% equals 84%  

Pls ad my in Brainliest! :)

8 0
3 years ago
13x -2y -5x +8
Sati [7]

Step-by-step explanation:

1. How many terms are in the expression?

The terms are sorted by looking at the sing/indicator in front of them. For this expression there are 4 terms

13x, -2y, -5x, and 8

2. Which terms are “like terms”?

13x and -5x are like terms.

3. Are there any constants? If so, what are they?

Yes there is a constant terms and it's 8

4. What are the variables in the expression?

The variables in this expression are x, and y

5. What are the coefficients in the expression?

Coefficients is the number in front of variables in this expression the coefficients are 13, -2, and -5

6 0
3 years ago
Read 2 more answers
Find the distance of a line given the following points. R(3, 1), W(-1, -2)
olga_2 [115]

Answer:

5 units

Step-by-step explanation:

±√(- 2 - 1)^2 + (- 1 - 3)^2 = ±5 (rej - 5 since distance > 0)

Apply distance formula

This is a topic on coordinate geometry. If you would like to find out more you can give my Instagram page a follow as I'll be updating on this topic soon. In addition, I will be posting other useful materials created by myself at the same platform too!

7 0
3 years ago
Solve each of the quadratic equations.<br><br> 3x=0.5x^2 <br><br><br> 0=5x^2-2x+6
Kipish [7]

Answer:

6x=0.10x< 2

Step-by-step explanation:

8 0
3 years ago
What is the interquartile range of this data? A.6 B.7 C.8 D.9
Butoxors [25]
Hello!

To find the interquartile range, subtract the value of the upper quartile from the value of the lower quartile. 

33 - 25 = 8

The interquartile range is 8. Hope I helped! :3
6 0
3 years ago
Other questions:
  • Triangle PQR is shown below.
    8·1 answer
  • PLZ HELP A biker travelling at his usual speed can go from his house to work in 4 hours. When the weather is bad, he travels 6 m
    8·2 answers
  • Henry and 28 classmates are going to the roller skating rink. each van can hold 11 students . If all of the van are full except
    15·2 answers
  • 1) What are the zeros of f(x) = (x + 4)(x – 7)?
    8·2 answers
  • 3(y+2)+2(4-3)=-15 please help
    10·1 answer
  • What are the answers to these
    6·1 answer
  • Pls help with math ASAP
    13·1 answer
  • Write a recursive formula for the arithmetic sequence:<br><br> 7,4,1,-2
    11·2 answers
  • 3,050 divided by 75 anwser
    9·1 answer
  • Can someone please help me out?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!