I\'m currently in the process of writing a Java program for school and I have be
ID: 3742462 • Letter: I
Question
I'm currently in the process of writing a Java program for school and I have been looking online for a completed version that doesn't apear to be the exact same as the ones I have found. My first question is - Are all the version so similar because they have been copied from a similar source, or are the similar be cause the confines of the progrom only allow for small variations? If the answer is the latter half of my question then I'm not too worried about using a previous version to work from, but if the first part is true then I would like a completely original JAVA version of the following assignment that is not based off of previous work. Thank you in advance!
Create an automobile class that will be used by a dealership as a vehicle inventory program. The following attributes should be present in your automobile class:
private string make
private string model
private string color
private int year
private int mileage
Your program should have appropriate methods such as:
constructor
add a new vehicle
remove a vehicle
update vehicle attributes
At the end of your program, it should allow the user to output all vehicle inventory to a text file.
Explanation / Answer
Java program for a school have basic entities like
1. classrooms
2. number of students
3. subjects
4. teachers
5. standards
6. admission number
7. Buildings etc.
You will find only a little variation in such kind of a program. So probably the reason why you are getting similar answers is because it is closer to the second reason that is "the confines of the progrom only allow for small variations". And here I am saying closer to is because it is not confined but people usually follow a type of programming which is considered as convention which makes their code look similar with proper indentation and modularity. But execution wise their code may be showing different behaviour. In case of a school program you can there can be very particular functionalities which may result in similar looking code.
If you want me to code this also leave in comments.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.