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
Make a rough estimate of the number of quanta emitted in one second by a 100 W light bulb. Assume that the typical wavelength em
mixas84 [53]

Answer:

#_photon = 5 10²⁰ photons / s

Explanation:

For this exercise let's calculate the energy of a single quantum of energy, use Planck's law

         E = h f

         c= λ f

         E = h c / λ

          λ= 1000 nm (1 m / 109 nm) = 1000 10⁻⁹ m

Let's calculate

          E₀ = 6.6310⁻³⁴ 3 10⁸/1000 10⁻⁹

          E₀ = 19.89 10⁻²⁰ J

This is the energy emitted by a photon let's use a proportions rule to find the number emitted in P = 100 w

                #_photon = P / E₀

               #_photon = 100 / 19.89 10⁻²⁰

              #_photon = 5 10²⁰ photons / s

6 0
3 years ago
Suppose you were digging a well into saturated sediments. Why is the sediment’s permeability an important factor in deciding whe
zloy xaker [14]

Answer:

The importance of the sediments permeability is that if it is permeable, water will flow easily through the sediment and thereby produce a very good supply of water for the well.

Explanation:

When digging a well into saturated sediments, the possibility of the sediment with either little saturation or full saturation being able to provide steady water supply will be limited by how permeable it is. Now, the importance of the sediments permeability is that if it is permeable, water will flow easily through the sediment and thereby produce a very good supply of water for the well.

4 0
3 years ago
Calculate the percentage of an iceberg submerged beneath the surface of the ocean given that the density of ice is 916.3kg/m3 an
pogonyaev

Answer:

The percentage of an iceberg submerged beneath the surface of the ocean = 89.67%

Explanation:

Let V be the total volume of the iceberg

Let x be the volume of iceberg submerged

According to Archimedes principle,

weight of the iceberg = weight of the water displaced (that is, weight of x volume of water)

Weight of the iceberg = mg= ρ(iceberg) × V × g

Weight of water displaced = ρ(fluid) × x × g

We then have

ρ(iceberg) × V × g = ρ(fluid) × x × g

(x/V) = ρ(iceberg) ÷ ρ(fluid) = 916.3 ÷ 1021.9 = 0.8967 = 89.67%

Hope this Helps!!!!

6 0
3 years ago
After watching a show about submarines, Jamil wants to learn more about the oceans. Which question could be answered through sci
Georgia [21]
The best question that could prompt a scientific investigation is: <u>What substances dissolve in ocean water?</u> 

This way the person experimenting can use several variables and make observations. Upon making observations, the person can be able to gather as much data as he can in order to answer the original question that he asked.
7 0
3 years ago
Read 2 more answers
Latitude and longitude picture.​
TiliK225 [7]

Answer:

where? please comment it

Explanation:

7 0
3 years ago
Other questions:
  • What is the momentum of a bowling ball with mass 5 kg and velocity 10 m/s
    12·2 answers
  • A pilot in a small plane encounters shifting winds. He flies 26.0 km northeast, then 45.0 km due north. From this point, he flie
    11·1 answer
  • Newton's three laws of motion
    7·2 answers
  • If your mass is 60 kg on earth, what would your mass be on the moon?
    14·1 answer
  • Draw the Lewis dot Structure for the molecule C2H6​
    14·1 answer
  • Bài 1. Ở nhiệt độ 17°C, có bao nhiêu phần trăm phân tử khí có các vận tốc sai khác
    8·1 answer
  • Are u god tell me u have to tell me are u a god
    14·1 answer
  • 17 points
    11·1 answer
  • A point charge of 5.7 µc moves at 4.5 × 105 m/s in a magnetic field that has a field strength of 3.2 mt, as shown in the diagram
    14·1 answer
  • Study the velocity vs. time graph shown.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!