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 541.2 mg in grams
PIT_PIT [208]

Answer:

0.5142 grams.

Explanation:

I think

5 0
3 years ago
Read 2 more answers
Your friend clams that objects do not have to be thouching for a magnetic force to cause motion. How would you support your frie
Leni [432]
Yes because something that has been electrically charged can make other things move without touching them ( this is called force without contact)
Hoped this helped :)
4 0
3 years ago
What is the weight of an object (mass = 60 kilograms) on Mars, where the acceleration due to gravity is 3.75 meters/second2?. Se
Shalnov [3]
Weight = mass * gravity = 60 kg * 3.75 m/s² = 225 N

<span>Option D.</span>
7 0
4 years ago
Which of the following determines whether light shining on a metal surface will eject electrons from that surface?
PtichkaEL [24]
From that list, only the frequency makes the difference.

Einstein won his only Nobel Prize for his explanation of this effect.
8 0
3 years ago
A 60 kg acrobat is in the middle of a 10 m long tightrope. The center of the rope dropped 30 cm in relation to the ends that are
Zigmanuir [339]

Answer:

The tension in each half of the rope, is approximately 4,908.8 N

Explanation:

The mass of the acrobat, m = 60 kg

The length of the rope, l = 10 m

The extent by which the center dropped = 30 cm = 0.3 m

Let, 'T' represent the tension in each half of the rope

Weight, W = Mass, m × The acceleration due to gravity, g

∴ W = m × g

The acceleration due to gravity, g ≈ 9.8 m/s²

∴ The weight of the acrobat, W = 60 kg × 9.8 m/s² ≈ 588 N

The angle the dropped rope makes with the horizontal, θ is given as follows;

θ = arctan((0.3 m)/(5 m)) = arctan(0.06) ≈ 3.434°

At equilibrium, the sum of vertical forces, \Sigma F_y = 0

The vertical component of the tension, T_y, in each half of the rope is given as follows;

T_y = T × sin(θ)

∴ \Sigma F_y = W + T × sin(θ) + T × sin(θ) = W + 2 × T × sin(θ)

Plugging in the values, with θ = arctan(0.06) for accuracy, we get;

588 N + 2 × T × sin(arctan(0.06) = 0

∴ 2 × -T × sin(arctan(0.06) = 588 N

-T= 588 N/(2 × sin(arctan(0.06)) = 4,908.81208 N ≈ 4,908.8 N

The tension in each half of the rope, T ≈ 4,908.8 N.

4 0
3 years ago
Other questions:
  • It is always a good idea to get some sense of the "size" of units. For example, the mass of an apple is about 100 g , whereas a
    6·1 answer
  • A very thin 19.0 cm copper bar is aligned horizontally along the east-west direction. If it moves horizontally from south to nor
    8·1 answer
  • The diagram represents water waves travelling from deep water into an area of much shallower water.
    11·1 answer
  • There are 2 questions into 1
    5·1 answer
  • One way to store energy is in the rotational motion of a flywheel, and some have proposed using such technology to power automob
    9·1 answer
  • For the following situations, describe the contact and non-contact forces that are involved.
    10·2 answers
  • How can we take advantage of waste materials​
    14·1 answer
  • Can some one tell the answers
    13·1 answer
  • A car is stopped for a traffic signal. When the light turns green, the car accelerates, increasing its speed from zero to 5.27 m
    14·1 answer
  • If Mia ran 15 meters at a speed of 5 m/s, how long did it take her?
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!