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
Help pls show work if needed!!
andrew-mc [135]

Answer:

False

True

True

true

Step-by-step explanation:

65x+105=y

Substitute 6 for x to find the cost for 6 classes

65(6)+105=y

390+105=y

495=y

4 0
3 years ago
What is the volume of this equation?
Pachacha [2.7K]

Answer:

Volume ≈ 33.33 cubic feet

Step-by-step explanation:

The question is:

<em>Find the volume of a right square pyramid with base square edges measuring 5 feet each and a height of the pyramid be 4 feet.</em>

<em />

So, the base is a square with side length 5 feet.

And the height of the pyramid is 4 feet.

The volume of a pyramid is given by the formula:

V=\frac{a^2 h}{3}

Where

a is the square base side length (given as 5)

h is the height of the pyramid (given as 4)

Now we substitute and find the value:

V=\frac{a^2 h}{3}\\V=\frac{(5)^2 (4)}{3}\\V=33.33

The volume is around 33.33 cubic feet

5 0
3 years ago
given the following system of equations, identify the type of system.x y = 6y = 3 - xconsistentinconsistentequivalent
lapo4ka [179]
Inconstant as there is no solution
8 0
3 years ago
Lauren has finished 25% of the 120 push ups she needs to do for softball
Ilya [14]

Answer:

30 pushups

Step-by-step explanation:

25/100 = x/120

so, 120x25 = 100x

3000 = 100x

3000/100= x

x = 30

so, Lauren has completed 30 push-ups.

3 0
3 years ago
What is the factorization of 36z+60
Zolol [24]

Answer:

<u>12 ( 3z + 5 )</u>

Step-by-step explanation:

6 0
3 years ago
Other questions:
  • Solve: 2/x+1/3=1/y for y.
    14·1 answer
  • Can someone show me the steps?<br>10m - 2/5 = 9 3/5
    8·2 answers
  • 13. Find the measure of ZABC. Show your work.<br>​
    5·1 answer
  • Find each angle??????????????
    8·1 answer
  • John drove 756 miles in 12 hours. At the same rate, how long would it take him to drive 315 miles?
    14·2 answers
  • On interstate highways, the minimum allowable lane width is 12 feet. Write an inequality to show the possible width of a lane.
    15·2 answers
  • 4. Use the distributive property to solve the equation below.<br> 3(n +5)= 33
    13·1 answer
  • Find the value of each variable given that the hypotenuse (h) equals 143.
    8·1 answer
  • 3. Write the complex number 1 +i into polar form
    13·1 answer
  • Look at the picture please help
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!