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 air conditioning system consist of a 5 cm diameter pipe, operating at a pressure of 200 kpa. the air initially enters the pipe at 15°c with a velocity of 20 m/s and relative humidity of 80%. if the heat supply throughout the process is 960 w, determine the relative humidity and the temperature at the outlet
Answers: 3
question
Engineering, 04.07.2019 18:10
The thermal expansion or contraction of a given metal is a function of the f a)-density b)-initial temperature c)- temperature difference d)- linear coefficient of thermal expansion e)- final temperature f)- original length
Answers: 2
question
Engineering, 04.07.2019 18:10
Shafts are machine elements that are used to a) carry axial loads b) direct shear loads c) transmit power d) rotate at constant speed e) none of the above circular and square shafts subjected to the same torque under the same circum behave a) the same way b) almost the same way
Answers: 2
question
Engineering, 04.07.2019 19:10
The maximum shear stress and maximum flexural stress occur at the same location along a beam subjected to a non-uniform bending load. a)-trune b)- false
Answers: 2
You know the right answer?
Which of the following are valid declarations? which instantiate an array object? explain your ans...
Questions
question
Mathematics, 30.10.2019 22:31
Questions on the website: 13722359