-3
You were hired to develop a system for a motorcycle workshop, cars and trucks. Your first task will be to build a set of classes for represent the vehicles that will be met in the workshop. having regard to the concepts of inheritance, encapsulation and composition seen in class, create a set of classes for such vehicles: - A vehicle can be a motorcycle, car or truck; - each vehicle has a plate; - vehicles contain two, four or more wheels; • Each wheel has a diameter, width and serial number; - each vehicle has several screws; • A bolt has a diameter, height and a serial number. I JUST NEED AN IDEA OF HOW TO CREATE THESE CLASSES
Dude, it’s good for you to read before or watch some heritage videos, I don’t know what your knowledge on the subject, but try to study a little, if you like: https://www.devmedia.com.br/understanding- and application-heranca-em-java/24544
– Jeff Henrique
The "idea" is already in the announced. What is your doubt?
– ramaral
I believe his doubt is: "Which classes should I create and which attributes"
– Jeff Henrique