Results 1 to 4 of 4
Thread: Method that contains a string?
- 11-24-2010, 06:32 AM #1
Member
- Join Date
- Nov 2010
- Posts
- 2
- Rep Power
- 0
Method that contains a string?
How would I do this? HELP!! please:(
registerVehicle(Vehicle aVehicle, String license) which takes a vehicle object as a parameter and the license ID of a driver who owns the vehicle and then registers the vehicle in the database by updating the vehicles list accordingly as well as storing the owner properly.
This is what i have so far:
Java Code:registerVehicle(Vehicle aVehicle, String license) { this.vehicles.add(aVehicle); }
-
I explained the logic behind what you need to do in your other thread that you deleted all posts on. Please don't delete posts in threads, as it prevents others from learning from them. What have you tried based on the algorithm that I gave you?
-
And besides, this question, taken out of context, without all the supporting information that you deleted from the other thread is meaningless to others in the forum who have no clue about the Vehicle and Driver classes. You've shot yourself in the foot by deleting those posts. Why?
- 11-24-2010, 06:57 AM #4
Member
- Join Date
- Nov 2010
- Posts
- 2
- Rep Power
- 0
Similar Threads
-
String split method
By counterfox in forum New To JavaReplies: 2Last Post: 11-13-2010, 12:06 AM -
String.trim() method help.....
By arson09 in forum New To JavaReplies: 6Last Post: 04-23-2010, 02:19 AM -
Please help me with Split method> String
By javanew in forum New To JavaReplies: 5Last Post: 04-02-2010, 07:15 PM -
Invoking method from String
By Supamagier in forum Advanced JavaReplies: 12Last Post: 05-29-2009, 10:21 AM -
String replace method
By venkata.tarigopula in forum Advanced JavaReplies: 1Last Post: 07-10-2007, 09:14 PM
Bookmarks