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
JulijaS [17]

1. a=Δv/Δt=(v-vo)/t=(0-25)/5=-25/5=-5 m/s²

The "-" sign shows us that the car has a slow motion


2.a=Δv/Δt=(v-vo)/t=(10-0)/4=10/4=2,5 m/s²


3.they do not have acceleration because they go at constant speed


7 0
4 years ago
In addition to light and chlorophyll photosynthesis requires
labwork [276]

Answer:

Water (H₂O) and Carbon dioxide (CO₂)

Explanation:

Photosynthesis usually refers to the process by which the green plants can synthesize their own food in the presence of sunlight, water, carbon dioxide, and light. This process helps in the conversion of light energy into chemical energy.

In addition to the sunlight and chlorophyll, the process of photosynthesis requires water as well as carbon dioxide. The plants are comprised of green pigments on their leaves that are commonly known as chlorophyll. These pigments absorb the water molecules and carbon dioxide gas that helps in synthesizing their food.

The equation for the process of photosynthesis is given below:

6CO₂ + 6H₂0 + (energy) → C₆H₁₂O₆ + 6O₂

6 0
3 years ago
Read 2 more answers
...
Kamila [148]

The two basic defenses in basketball are man-to-man, sometimes referred to as person-to-person in respect for the rise of women's basketball, and zone. Each basic defense has a number of variations.

4 0
3 years ago
A 40 kg boy is moving upwards upwards in a lift with an acceleration of 2 m /s ^2 what would be the weight felt by him if measuu
neonofarm [45]

Answer:

<h2> 48kg</h2>

f = ma \\

w \:  =  \frac{f}{g}  \\

Explanation:

f \:  = ma \\ f - mg = ma \\ f = ma + mg \\ f = 40 \times 2 + 40 \times 10 \\ f = 480

w =  \frac{f}{g}  \\w =   \frac{480}{10}  \\ w = 48kg

5 0
3 years ago
HELP QUICK <br> numbers 2-6
Sindrei [870]

Answer:

2. B

3. A

4. C

5. B

6. A

Explanation:

2. Sound waves use vibrating molecules to move. With this being said, sound waves would travel best through dense materials, and would travel worst in empty materials, like space. Using this information, you can infer that B would be the answer because water is denser than air and water is the densest material on that list.

3. The speed of the wave is equal to the frequency times the wavelength. Since it has a wavelength of 100 meter and 20 Hertz, the speed would 2000 m/s

4. Like noted in question 2, sound waves travel best in dense materials. Rock is the densest material in that last.

5. By looking at the chart, you can see that the speed increases by 4 m/s when the temperature increases by 10. Using simple division, you could determine that the speed would go up by 2 m/s since the jump between 15 degrees and 20 degrees is 5, which is half of 10, making the speed half of 4.

6. The speed would decrease because, like stated above, sound travels best through dense materials. Since rock is denser than air, the speed would decrease as it leaves.

5 0
3 years ago
Read 2 more answers
Other questions:
  • Janet pushes a cart, the cart with a net force of 60N. The mass of the cart was 48 kg. Calculate the carts acceleration
    7·1 answer
  • The equation shows neutralization of an acid and a base to produce a salt and water.
    9·2 answers
  • Veronica and her little sister, Monique, are playing on a seesaw. If Veronica weighs 75 pounds, and Monique weighs 60 pounds, wh
    9·2 answers
  • Check My Answers Please!
    6·1 answer
  • IF THE SPEED OF A BODY IS INCREASED FOUR TIME HOW WILL ITS KINETIC ENERGY BE AFFECTED ? SHOW BY CALCULATION?​
    9·1 answer
  • The pressure on a balloon holding 356 mL of an ideal gas is increased from 267 torr to 1.00 atm. What is the new volume of the b
    10·1 answer
  • Choose the correct statement concerning units of power or energy. a. A kilojoule (kJ) is a unit of power. b. A gigawatt (GW) is
    7·1 answer
  • Pls help will give brainlest​
    7·2 answers
  • A box slides down a ramp inclined at 24◦ to the horizontal with an acceleration of 1.7 m/s 2 . The acceleration of gravity is 9.
    15·1 answer
  • A car has an initial velocity of 9 km/hr and a final velocity of 66 km/hr. What is the cars average velocity? Use one of the fol
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!