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
Alinara [238K]
3 years ago
6

Before using a string in a comparison, you can use either the To Upper method or the To Lower method to convert the string to up

per case or lower case, respectively, and then use the converted string in the comparison.1. True2. False

Physics
1 answer:
diamong [38]3 years ago
3 0

Answer:

True, check attachment for code

Explanation:

To convert java strings of text to upper or lower case, we can use and inbuilt methods To Uppercase and To lower case.

The first two lines of code will set up a String variable to hold the text "text to change", and then we print it out.

The third line sets of a second String variable called result.

The fourth line is where the conversion is done.

We can compare the string

We can compare one string to another. (When comparing, Java will use the hexadecimal values rather than the letters themselves.) For example, if we wanted to compare the word "Fat" with the word "App" to see which should come first, you can use an inbuilt string method called compareTo.

Check attachment for the code

You might be interested in
What is the weight of an object on the earth with a mass of 70 kg. <br> (g= 10 m/s2)
Sphinxa [80]

Answer:

700N

Explanation:

mass= 70kg

g=10m/s²

weight=mg

=70×10

=700N

5 0
3 years ago
Un Esquiador Inicia un Salto Horizontal con una velocidad Inicial de 25 m/s. La Altura al Final de la Rampa es de 80 m del punto
Evgesh-ka [11]

Responder:

Explicación:

Para que podamos calcular el tiempo que le tomará al esquiador permanecer en el aire, encontraremos el tiempo de vuelo como se muestra;

T = 2Usin theta / 2

theta = 90 grados

U = 25 m / s

T = 25sin90 / 2 (9,8)

T = 25 / 19,62

T = 1,27 segundos

Por lo tanto, los cielos usarán 1.27 segundos en el aire.

La distancia horizontal es el rango;

Rango R = U√2H / g

R = 25√2 (80) /9,8

R = 25√160 / 9,8

R = 25 * √16,326

R = 25 * 4.04

R = 101,02 m

Por tanto, la distancia horizontal recorrida por el esquiador es 101,02 m

5 0
3 years ago
If a car can go from 0 to 60 km/h in 8.0 seconds, what would be its final speed after 5.0 seconds if its starting speed were 50
dmitriy555 [2]

Answer:

This question assumes that the car accelerates at the same rate as when it went from 0 to 60km/h

24.29m/s or 87.4km/h

Explanation:

Let's find the acceleration of the car:

let vi=0, vf=60km/h (16.67m/s), Δt = 8.0s

a = (vf-vi)/Δt

a = (16.67m/s-0)/8.0

a = 2.08m/s^2

Now we can use this acceleration to find vf in the second part:

50km/h is 13.89m/s

a = (vf-vi)Δt

vf = aΔt + vi

vf = 2.08m/s^2*5.0+13.89m/s

vf = 24.29m/s (87.4km/h)

3 0
2 years ago
Do you think that rubbing two pieces of woods together would have more or less friction than wood rubbing against smooth metal ?
salantis [7]

Answer: More friction

Explanation: The wood would probably splinter, causing even more friction, while the metal would probably smooth the wood out.

7 0
3 years ago
A piece of rope is pulled by two people in a tug-of-war. each exerts a 400-n force. what is the tension in the rope?
Leokris [45]
Newtons 3.law: Action = Reaction

If a body exerts a force on a rope of 400 N the rope exerts a force on the body of 400N also. So the tension in the rope is 400N. See pictures below.

3 0
3 years ago
Read 2 more answers
Other questions:
  • How to win friends and influence people
    12·1 answer
  • What is the velocity of a rocket that goes 700 km north in 25 seconds?
    13·1 answer
  • What percentage of the world's energy needs is supplied by fossil fuels?
    15·1 answer
  • A scientist wants to calculate the kinetic energy of a cheetah as it chases down its prey. What does the scientist need to measu
    5·2 answers
  • If a burning log is a black object with a surface area of 0.25 m2 and a temperature of 800 8c, how much power does it emit as th
    11·1 answer
  • Power describes the
    5·2 answers
  • Which of the following has the same unit as the moment of force?
    8·2 answers
  • Which equations are equivalent to 3/4+m=-7/4? Select three options.
    14·1 answer
  • A bike travels at 3.0 m/s, and then accelerates to a speed of
    5·1 answer
  • Write down the atomic numbers of nitrogen and sodium ?​
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!