subject
Engineering, 12.11.2019 21:31 vitothebest1

Which of the following are valid declarations? which instantiate an array object? explain your answers. int primes = {2, 3, 4, 5, 7, 11}; float elapsedtimes[] = {11.47, 12.04, 11.72, 13.88}; int[] scores = int[30]; int[] primes = new {2,3,5,7,11}; int[] scores = new int[30]; char grades[] = {'a', 'b', 'c', 'd', 'f'}; char[] grades = new char[];

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
An ideal otto cycle with air as the working fluid has a compression ratio of 8. the minimum and maximum temperatures in the cycle are 300 k and 1340 k. use constant specific heats at room temperature to determine (a) the amount of heat transferred to the air during the heat- addition kj/kg, (b) the thermal efficiency, and (c) the thermal efficiency of a carnot cycle ope limits. process, in rating between the same temperature
Answers: 2
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
For each of the following process: a) sketch the p-v diagram, b)sketch t-s diagram, c) sketch t-v diagram, d) sketch the boundary work on one of the diagrams (a, b or c) and e) sketch the reversible heat transfer on one of the diagrams (a, b or c): 1- isobaric process from compressed liquid to superheated vapor 2- isothermal process from compressed liquid to superheated vapor 3- isentropic process from compressed liquid to superheated vapor
Answers: 3
question
Engineering, 06.07.2019 02:30
Air (c-1.006 kj/kg.k, r-0.287 kj/kg.k) enters a nozzle steadily at 280 kpa and 77°c with a velocity of 50 m/s and exits at 85 kpa and 320 m/s. the heat losses from the nozzle to the surrounding medium at 20°c are estimated to be 3.2 kj/kg. determine (a) the exit temperature and (b) the total entropy change for this process. solve this problem using constant specific heats.
Answers: 1
You know the right answer?
Which of the following are valid declarations? which instantiate an array object? explain your ans...
Questions
question
Chemistry, 26.08.2019 23:00
question
History, 26.08.2019 23:00
question
English, 26.08.2019 23:00
question
History, 26.08.2019 23:00
Questions on the website: 13722367