- 1
java project ...can anyone help me
create (model) an item that puts the name Machine, .These features: name, color, year of production, and what works (gas = bn, gas = g). Then use an empty constructor method that sets idle values .., Then a constructor that takes the parameters: name, color, year of production, what works (gas = bn, gas = g) ...., then create a single method of String type .... "Finally, create a testing class and display the Machine using the String method.
4 Answers
+ 10
That sad-smiley tag :(
But you'll have to try it by your own :)
Here's a sample code which shows how to use constructors:
https://code.sololearn.com/cpHx2iuWqzWt/#java
Try to understand it and implement your task accordingly. Feel free to ask for help if you get stuck :)
+ 9
The Java tutorial of SoloLearn covers these topics step by step, which is designed specially for beginners. You should continue with that :)
+ 1
if you can send me more exercise like this ...thanks u so much đ
+ 1
đđđ