Hello im doing a project with java and would like help with
Hello im doing a project with java and would like help with a good base to start from.
Create a program that allows the user to manage vehicle information including:
License plate number
Owner name
Owner phone number
The user interface will be text based providing the following capabilities:
Add up to 100 vehicles
Remove specified vehicles
View a sorted list of all known license plates
View the data for a specified vehicle
Save the database contents into a file
Load a saved database from a file
Any help is appreciated thanks.
Solution
2) public int addVehicles(int 100)
{
Vehicles v=new vehicle();
for(int i=0,i<=100;i++){
v.add(licenseplatenumber);
v.add(ownerphonenum);
v.add(name);
system.out.println(\" you can add upto 100 vehicles data\");
}
3) public int remove vehicles(string s)
{
system.out.println(\"do you want to remove vehicle?\",y or n);
Scanner in=sc.newchar(s);
if(s=\"y\")
{
}
4)// sort the number plates
}
