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
Please help me**** i need some answers now
sweet-ann [11.9K]
Output can not be greater than input because the conversion of energy can not be greater than 100%.
4 0
3 years ago
All of the following are physical proporties of chlorine EXCEPT it ___
ss7ja [257]

Answer:

Option D

Reacts with sodium to form chloride

Explanation:

First, reaction between chlorine and sodium is a chemical reaction and not physical properties. Secondly, when chlorine reacts with sodium, it forms sodium chloride, NaCl NOT chloride as depicted by the statement. Otherwise, chlorine exists in the form of gas and is yellowish in color. Moreover, it's density is approximately 3.11 grams per liter. Therefore, the right answer is option D

8 0
3 years ago
¿A qué velocidad debe circular un auto de carreras para recorrer 87 km en 20 min? (pasar a metros por segundo m/s)
Alexxx [7]

Answer:

Velocidad en m / s = 72,25 m / s

Explanation:

Dado

Distancia a recorrer por el coche de carreras = 87 Km

1 km = 1000 m

Por lo tanto, 87 km = 87000 m

Tiempo necesario para viajar 87 km / 87000 metros = 20 minutos o 20 * 60 = 1200 segundos

Velocidad en m / s = 87000/1200

Velocidad en m / s = 72,25 m / s

7 0
3 years ago
PLZ HELP!!!!!!! My favorite playground equipment is the swings. In 1-3 sentences explain a pattern of motion that u predict u'll
In-s [12.5K]

My favorite playground equipment is the swings.

4 0
4 years ago
A constant force of 12N is applied for 3.0s to a body initially at rest. The final velocity of the body is 6.0ms–1. What is the
sp2606 [1]
From the question,
u = 0m {s}^{ - 1}
v = 6m {s}^{ - 1}

t = 3s
F=12N



Using Impulse, the product of the constant force, F and time t equals the product of the mass of the body and change in velocity.

Ft =m(v-u)


12(3.0)=m(6.0- \: 0)
This implies that

36.0 = 6m
m =  \frac{36.0}{6.0}
\therefore \: m = 6.0kg


You can also use the equation of linear motion,
v = u + at
6 = 0 + a(3)
6 = 3a
a =  \frac{6}{3}

a = 2 {ms}^{ - 2}
But
F=ma
12 = m(2)
12 = 2m
\frac{12}{2}  = m
\therefore \: m = 6kg
4 0
3 years ago
Other questions:
  • A man can swim with a speed of 5m/s in calm water. if this man swims crosses a specific river his speed is 3m/s. if he takes the
    15·1 answer
  • What happens when a roller coaster car moves down from the top of a hill?
    10·2 answers
  • 20. Sterling Archer, despite failing repeatedly at pole-vaulting, is determined to master the skill. He is holding a vaulting po
    11·1 answer
  • The resolving power of electron microscopes is much better than the resolving power of light microscopes because the wavelength
    11·1 answer
  • True or false? Scientific theories lack experimental support
    10·1 answer
  • You have a chart that illustrates a series of species with their common ancestor. This chart is a
    10·1 answer
  • The speed of a light wave in a certain transparent material is 0.589 times its speed in vacuum, which is 3.00 x108 m/s. When yel
    9·1 answer
  • During the rainy season, we can observe lighting in the sky. Due to lighting, the atmospheric
    8·1 answer
  • The graph below plots the temperature and luminosity of stars on the main sequence. (2 points)
    8·1 answer
  • Is direction the length of the route between two points ?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!