String sentence;
String str1, str2, str3, str4;
int length1;
...
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?
Answers: 1
Engineering, 04.07.2019 18:10
Ariver flows from north to south at 8 km/h. a boat is to cross this river from west to east at a speed of 20 km/h (speed of the boat with respect to the earth/ground). at what angle (in degrees) must the boat be pointed upstream such that it will proceed directly across the river (hint: find the speed of the boat with respect to water/river)? a 288 b. 21.8 c. 326 d. 30.2
Answers: 3
Engineering, 04.07.2019 19:10
Agas contained within a piston-cylinder assembly e end nation about same energy states, 1 and 2, where pi 10 bar, v undergoes two processes, a and b, between the sam 0.1 m3, ui-400 kj and p2 1 bar, v2 1.0 m2, u2 200 kj: process a: process from 1 to 2 during which the pressure- volume relation is pv constant process b: constant-volume process from state 1 to a pressure of 2 bar, followed by a linear pressure-volume process to +20 0 state 2 kinetic and potential energy effects can be ignored. for each of the processes a and b, (a) sketch the process on p-v coordinates, (b) evaluate the work, in kj, and (c) evaluate process the heat transfer, in kj
Answers: 2
Engineering, 04.07.2019 19:10
Arigid tank contains 10 kg of air at 137 kpa (abs) and 21°c. more air is added to the tank until the pressure and temperature rise to 242 kpa (abs) and 32°c, respectively. determine the amount of air added to the tank. [r-0.287 kj/kg k]
Answers: 3
Engineering, 06.07.2019 03:10
Different between right hand turning tool and left hand turning tool ?
Answers: 1
English, 15.04.2020 21:22
History, 15.04.2020 21:22
Mathematics, 15.04.2020 21:22
Mathematics, 15.04.2020 21:23