subject
Engineering, 26.02.2020 21:30 vanessa791

String sentence;

String str1, str2, str3, str4;

int length1;

sentence = " First exam is on Monday. " ;

str1 = sentence. substring(6, 12);

str2 = str1.substring(0, 4);

str3 = sentence. replace( ' i ' , ' # ' );

str4 = sentence. indexOf( "on" );

length1 = sentence. length();

1. Based on the code above, what is the value of str2?

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Atmospheric air has a temperature (dry bulb) of 80° f and a wet bulb temperature of 60° f when the barometric pressure is 14.696 psia. determine the specific humidity, grains/lb dry air. a. 11.4 c. 55.8 d. 22.5 b. 44.1
Answers: 1
question
Engineering, 04.07.2019 18:20
Vibration monitoring this technique uses the noise or vibration created by mechanical equipment and in seme cases by plant systems to detemine their actual condtion. a)- true b)- false
Answers: 2
question
Engineering, 04.07.2019 18:20
Wiy doeres rere okhn a pump whon working betwon the same pressure range?
Answers: 2
question
Engineering, 04.07.2019 19:10
Asteam is contained in a rigid tank with a volume of 1 m3. initially, the pressure and temperature are 7 bar and 500 oc, respectively. the temperature drops due to cooling process. determine: (1) the temperature at which condensation begins in °c, (2) the fraction of the total mass that has condensed when the pressure decreased to 0.5 bar. (3) the volume in m3 occupied by saturated liquid at the final state?
Answers: 3
You know the right answer?
String sentence;

String str1, str2, str3, str4;

int length1;

...
Questions
question
Health, 11.03.2020 22:55
question
Mathematics, 11.03.2020 22:55
question
Mathematics, 11.03.2020 22:56
Questions on the website: 13722360