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]
2 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]2 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
YOU WALKED OUTSIDE EVERY MONDAY MORNING FOR A MONTH
jeka94

Answer. NOOOOOO

Step-by-step explanation:

8 0
3 years ago
Write the following inequality in slope intercept form<br> -6x+3y&gt;-45
QveST [7]

Slope intercept form is y = mx + c.

<em>(where m is the slope, and c is the intercept - hence slope intercept form)</em>

So all you have to do is rearrange the inequality to have y by itself.

-6x + 3y > - 45                <em>(add 6x to both sides)</em>

        3y > - 45 + 6x        <em>(divide both sides by 3)</em>

          y > - 15 + 2x         <em>(put the 2x infront of the - 15) </em>

          y > 2x - 15

- - - - - - - - - - - - - - - - - - - - - - -

Answer:

y > 2x - 15

- - - - - - - - - - - - - - - - - - - - - - -

6 0
3 years ago
Find the 9th term of the arithmetic sequence with a 10 and d= -1/2
VLD [36.1K]

a=10

d=-1/2

nth term=a+(n-1)d

10+(9-1)(-1/2)

10-4 =6

5 0
3 years ago
Please help me on this question as soon as possible
lbvjy [14]
First move the 14 over so 1/3s = 12 then do 12 divided by 1/3, that would be 36 so s=36
7 0
3 years ago
Ots
vagabundo [1.1K]

Answer:

9.5

Step-by-step explanation:

6 0
3 years ago
Other questions:
  • 16.985 in word form?
    8·1 answer
  • What are the solutions of the equation 2x2−x=32x2-x=3?
    13·1 answer
  • Answer any of these on the page
    7·1 answer
  • (GEOEMTRY. REAL HELP ONLY NO GUESSES) For the triangles to be similar by the SSS similarity theorem, what must be the value of y
    12·2 answers
  • 1.What is the theoretical probability of picking a face card from a deck of cards? Write your answer in simplest form.
    9·1 answer
  • At a concession stand, three hotdogs and two hamburgers cost 8.50, two hotdogs and three hamburgers cost 9.00. What is the cost
    13·1 answer
  • Write the expression for when you translate the graph of y = 3x − 5 one unit to the right.
    12·1 answer
  • Solve this simultaneous equations: picture below
    14·1 answer
  • In a long-distance relay contest, Team A completed the race in 5 2/3 hours, and Team B completed the race in 294 minutes. How mu
    13·1 answer
  • Suppose we write down the smallest (positive) $2$-digit, $3$-digit, and $4$-digit multiples of $7$.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!