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 atomic theory and how has it changed over time?
vazorg [7]
<span>In chemistry and physics, the atomic theory explains how our understanding of the atom has changed over time. Atoms were once thought to be the smallest pieces of matter. The first idea of the atom came from the Greek philosopher Democritus. Hope I helped!!</span>
6 0
3 years ago
Read 2 more answers
Charge Q is distributed uniformly throughout the volume of an insulating sphere of radius R = 4.00 cm. At a distance of r = 8.00
Elena L [17]

Answer:

2.62898\times 10^{-6}\ C/m^3

1979.99974\ N/C

Explanation:

k = Coulomb constant = 8.99\times 10^{9}\ Nm^2/C^2

Q = Charge

r = Distance = 8 cm

R = Radius = 4 cm

Electric field is given by

E=\dfrac{kQ}{r^2}\\\Rightarrow Q=\dfrac{Er^2}{k}\\\Rightarrow E=\dfrac{990\times 0.08^2}{8.99\times 10^{9}}\\\Rightarrow Q=7.04783\times 10^{-10}\ C

Volume charge density is given by

\sigma=\dfrac{Q}{\dfrac{4}{3}\pi R^3}\\\Rightarrow \sigma=\dfrac{7.04783\times 10^{-10}}{\dfrac{4}{3}\pi (0.04)^3}\\\Rightarrow \sigma=2.62898\times 10^{-6}\ C/m^3

The volume charge density for the sphere is 2.62898\times 10^{-6}\ C/m^3

E=\dfrac{kQr}{R^3}\\\Rightarrow E=\dfrac{8.99\times 10^9\times 7.04783\times 10^{-10}\times 0.02}{0.04^3}\\\Rightarrow E=1979.99974\ N/C

The magnitude of the electric field is 1979.99974\ N/C

8 0
3 years ago
A protein molecule in an electrophoresis gel has a negative charge.The exact charge depends on the pH of the solution, but 30 ex
Ad libitum [116K]

Answer:

The magnitude of the electric force on a protein with this charge is 7.2\times10^{-15}\ N

Explanation:

Given that,

Electric field = 1500 N/C

Charge = 30 e

We need to calculate the magnitude of the electric force on a protein with this charge

Using formula of electrostatic force

F=Eq

Where, F = force

E = electric field

q = charge

Put the value into the formula

F=1500\times30\times1.6\times10^{-19}

F=7.2\times10^{-15}\ N

Hence, The magnitude of the electric force on a protein with this charge is 7.2\times10^{-15}\ N

6 0
3 years ago
I need help with number 6
Otrada [13]
I like your handwriting boy
7 0
3 years ago
Why doe cups break in the winter?
eimsori [14]

Answer: Glass may break at low temperatures, but this is because the contents freeze and their expansion cause the glass to crack (if the cap does not come off). ... Hot temperatures can cause the glass to break when the bottle is subject to excessive thermal variations. hope this helps can u give me brainliest

Explanation:

5 0
3 years ago
Read 2 more answers
Other questions:
  • A 4-kilogram ball moving at 8 m/sec to the right collides with a 1-kilogram ball at rest. After the collision,
    5·1 answer
  • Can you tell me at least three states of matter that are fluids?
    5·1 answer
  • Is the following true or false?
    10·2 answers
  • There are 2.2 pounds in a kilogram. if a boys mass is 40kg, what is his height in pounds?
    11·2 answers
  • Most people can hear sound of pitch raning from to hertz​
    12·1 answer
  • As an object in motion becomes heavier, its kinetic energy _____. A. increases exponentially B. decreases exponentially C. incre
    13·2 answers
  • How do invasive species spread? identify three methods.Why do invasive species pose such a threat?
    15·1 answer
  • __________ theory argues that city growth is generated by the pressure from the city center to expand outward. Expansion threate
    11·2 answers
  • Last night Mookie Betts hit a baseball at 32.5 m/s at a 45° angle. Betts
    15·1 answer
  • Potassium has an atomic number
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!