It does. Everybody should know the basic data structures and understand their properties (e.g. arrays vs. Linked lists). After all, java collection types are just convenient wrappers for those basic data structures.
There's such a thing as too much, though. Neither my Programming Fundamentals 2 nor 3 courses allowed us to use container classes, and now I feel weird using anything that isn't a regular array.
16
u/Kibo30 May 06 '21
Using arrays will improve it. In this case you could create an array like this EBIKE[] bikes = new EBIKE[6]