subject
Engineering, 04.04.2020 13:23 paige3673

// global variables int a = 5, b = 6, c = 7, d = 8; void sub2() { int a = 0, b = 3; //local variables { int b = 5; //local variable System. out. println("a=" + a); System. out. println("b=" + b); System. out. println("c=" + c); System. out. println("d=" + d); } } void sub1() { int a = 2, b = 4, c = 1; //local variables sub2(); } void main() { int a = 1, b = 2, c = 3, d = 4; //local variables sub1(); }\

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Aflywheel accelerates for 5 seconds at 2 rad/s2 from a speed of 20 rpm. determine the total number of revolutions of the flywheel during the period of its acceleration. a.5.65 b.8.43 c. 723 d.6.86
Answers: 2
question
Engineering, 04.07.2019 18:10
Coiled springs ought to be very strong and stiff. si3n4 is a strong, stiff material. would you select this material for a spring? explain.
Answers: 2
question
Engineering, 04.07.2019 18:10
Carbon dioxide gas expands isotherm a turbine from 1 mpa, 500 k at 200 kpa. assuming the ideal gas model and neglecting the kinetic and potential energies, determine the change in entropy, heat transfer and work for each kilogram of co2.
Answers: 2
question
Engineering, 04.07.2019 18:20
An open feedwater heater operates at steady state with liquid entering at inlet 1 with t? = 40°c and pl = 1 .2 mpa. water vapor att2-200°c and p2 = 1.2 mpa enters at inlet 2. saturated liquid water exits with a pressure of pa 1.2 mpa. neglect heat transfer with the surroundings and all kinetic and potential energy effects, determine the mass flow rate of steam at inlet 2 if the mass flow rate of liquid water at inlet 1 is given as 2 kg/s.
Answers: 3
You know the right answer?
// global variables int a = 5, b = 6, c = 7, d = 8; void sub2() { int a = 0, b = 3; //local variable...
Questions
question
Mathematics, 07.10.2019 10:00
question
Geography, 07.10.2019 10:00
question
Physics, 07.10.2019 10:00
question
Biology, 07.10.2019 10:00
Questions on the website: 13722362