lululu6707 lululu6707
  • 16-03-2022
  • Computers and Technology
contestada

What type of a structure is the best way to iterate through the characters of a string?.

Respuesta :

521015
521015 521015
  • 16-03-2022

Answer:Using the character iterator is probably the only correct way to iterate over characters, because Unicode requires more space than a Java char provides. A Java char contains 16 bit and can hold Unicode characters up U+FFFF but Unicode specifies characters up to U+10FFFF.

Explanation:

Answer Link

Otras preguntas

what can turn igneous rock into sediment?
the pair of polygons is similar. find the value of x. answer on picture
Choose the equation below that represents the line passing through the point (2, -4) with a slope of 1/2. A) y = 1/2 x + 5 B) y = 1/2 x - 3 C) y = 1/2 x - 5 D)
if 4 bags of corn can feed a herd of cows for 6 days, how many bags will feed the herd for 9 days ?
what is a rational number between 1/8 and 1/4?
what is a rational number between 1/8 and 1/4?
if 4 bags of corn can feed a herd of cows for 6 days, how many bags will feed the herd for 9 days ?
Why  might  things far away  and  long  ago  be   important   to  us now.
the pair of polygons is similar. find the value of x. answer on picture
what can turn igneous rock into sediment?