I honestly have no clue. Thanks for trying to help, but the headache isn't worth it. I'll turn the assignment in as it is.
I'll make this as solved.
Thanks you.
Type: Posts; User: maiestas
I honestly have no clue. Thanks for trying to help, but the headache isn't worth it. I'll turn the assignment in as it is.
I'll make this as solved.
Thanks you.
I honestly don't know. I figured that was creating a char called c, and then assigning it to x.charAt(0). I had made x empty because I don't know what else to set it to. I understand what you're...
I reassigned String x which was empty to char c = x.CharAt(0). String x was empty on line 17, when I first made it.
I'm not even asking for the length though? I don't see how that's relevant.
...
I'm honestly pretty lost and I don't know how to do that.
I need to read in data from a text file with a scanner, which contains a list of vehicles. I'm then adding these Vehicles to an ArrayList. Each we have separate subclasses already written for a Car,...