Quote (HoneyBadger @ Mar 9 2015 01:16pm)
You're telling the compiler that you want this function to override the other function with the same name.
IE. you @override the toString method as it prints out ugly text with lots of extra unneeded characters. So I would do:
public class Chevy extends Cars{};
@override
public toString(takes in whatever you're print out or can be accessed via accessor methods){
-insert edits you want to make here like removing {} characters from start/end etc and print out your object(s).
}
When you call the toString method on chevy cars it'll print out whatever is in your overridden toString instead of the generic toString.
ok thanks buddy