0
Why does this code not create two objects with different specifications
I thought the code would create two engines with different specifications but when the second object is created the specifications of the first object are also changed https://code.sololearn.com/c06SC1Eo49xX/?ref=app
3 Respuestas
+ 3
I'm not a professional nor I know Java but maybe it's because the 'fitted', 'size' and 'type' properties are static
+ 1
Thankyou two weeks i have been back and forth playing with this problem. Sometimes when its starring you in the face you need someone on the outside to give you a nudge.
thanks again i can now get nack to developing the code.
+ 1
Good luck with your code 👍