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
I’ll give brainliest!! please help and answer correctly! plsss answer quick
Rashid [163]

Answer: The motion of the object will remain the same

Explanation:

6 0
3 years ago
Which is greater the attraction of the earth for 1 kg of aluminum or aluminum or attraction of 1kg of aluminum for the earth?
OleMash [197]
Those forces are exactly equal.

Gravity always works as a pair of <em>EQUAL</em> forces ... one in each direction
between two masses.  Your weight on the Earth is exactly the same as
the Earth's weight on you.
8 0
3 years ago
Wo siblings are arguing over what way to pull a 10 kg wagon. Boris wants to pull it to the right. Boris puts 220 N of force on t
Mrrafil [7]

Answer:

a) Then net force acting on the wagon  30 [N] in a negative direction to the left

b)Acceleration of the wagon 3 m/s² in a negative direction to the left

Explanation:

The coordinates x and y show the positive direction in x-axis ( to the right) and negative direction to the left. In north-south direction positive y values are to the north and negative values to the south

The free-body diagram shows 4 forces acting

In y-axis:

The weight ( P = m*g =  10 [kg]*9,8 [m/s²] = 98 [N] negative

Normal reaction force  Fn = P = 98 [N]  positive ( surface is frictionless)

∑Fy = 0     P - Fn = 0     P = Fn  = 98 [N]

In x-axis:

Boris pulling force to the right (positive ) 220 [N]

Natasha pulling force to the left ( negative) 250 [N]

∑Fx = m*a

220 [N] - 250 [N]  = 10 Kg * a                      [N] = Kg * m /s²

-30 [kg*m/s²]  = 10 * Kg * a

-30/10  =  - 3  m/s²  = a

Sign (-) means the direction of acceleration vector is to the left (the same direction of the movement )

Then net force acting on the wagon  30 [N] in negative direction to the left

Acceleration of the wagon 3 m/s² in negative direction to the left

5 0
3 years ago
What conditions must be satisfied for a body to be in equilibrium <br>​
dem82 [27]

For an object to be in equilibrium, it must be experiencing no acceleration. This means that both the net force and the net torque on the object must be zero.

5 0
3 years ago
Measure the mass of a coin using a triple beam balance.
Mariana [72]

Explanation:

The triple beam balance is used to measure masses very precisely; the reading error is 0.05g

7 0
3 years ago
Other questions:
  • How old is a bone that has 12.5 percent of the original amount of radioactive carbon
    5·1 answer
  • A monkey throws a banana peel from a height of 14 meters. It has a mass of 0.01 kilogram. What was the approximate potential ene
    8·1 answer
  • An astronaut on a small planet wishes to measure the local value of g by timing pulses traveling down a wire which has a large o
    13·1 answer
  • Describe three important ways we use the electromagnetic spectrum in our everyday lives.
    11·1 answer
  • Which technique uses a special paper that separates a mixture into its different components with some components traveling a sho
    11·1 answer
  • The velocity of in water is 1500 m/s.
    5·1 answer
  • What are the worst dangers of mixing bleach and ammonia-based cleaning solutions?
    15·1 answer
  • A(n) __________ is an intentionally constructed, low-impedance electrically conductive path designed and intended to carry curre
    9·1 answer
  • A 2.0-kg laptop sits on the horizontal surface of the seat of a car moving at 8.0 m/s. The driver starts slowing down to stop. F
    9·1 answer
  • For elevator questions, does the weight of a person increase when the elevator is going up or if it's going down-
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!