subject
Engineering, 12.08.2020 07:01 hannahblank2466

Assume you have created a class named MyClass and that is contains a private field named myField and a nonstatic public method named myMethod(). Which of the following is
true?
a. myMethod() has access to and can use myField
b. myMethod() does not have access to and cannot use myFeild.
c. myMethod() can use myField but cannot pass it to other methods.
d. myMethod() can use myField only in myField is passed to myMethod() as a
parameter.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
If a particle moves along a path such that r : (3 sin t) m and ? : 2t rad, where t is in seconds. what is the particle's acceleration in m/s in 4 seconds? a)- 16.43 b)- 16.29 c)- 15.21 d)- 13.79
Answers: 1
question
Engineering, 04.07.2019 18:20
Inspection for bearing condition will include: (clo4) a)-color b)-smell c)-size d)-none of the above
Answers: 1
question
Engineering, 04.07.2019 18:20
Amixture of slurry and mud is to be pumped through a horizontal pipe of diameter 500 mm. the fluid behaves as a bingham plastic with a yield stress of 30 pa and viscosity 0.04 pa.s. describe the effects of the shear stress through a transverse section of the pipe by plotting the variation in shear stress and velocity profile: (i) just before the slurry starts to move (ii) as the slurry flows when the pressure gradient is double that in part (i)
Answers: 3
question
Engineering, 04.07.2019 19:20
Aseries piping system conveys methyl alcohol. the system consists of 70 m of 1- nominal pipe follow by 50 m of 2-nominal pipe, both schedule 40 commercial steel. the 1-nominal pipe contains 3 90° elbows (regular) anda fully open gate valve, all threaded. the pressure drop through the system is 150 kpa. determine the volume flow rate through the system that is horizontally laid.
Answers: 1
You know the right answer?
Assume you have created a class named MyClass and that is contains a private field named myField an...
Questions
question
Business, 15.10.2019 04:50
question
Mathematics, 15.10.2019 04:50