1
What is override for in java assignments?? Example : I am assigning values in a certain class of the package I created in netbeans. But there’s a slide that after all the assignments made to the class object, there’s a @Override toString and I have more than one type of variable, so I wanted to know what it’s for and although I’m starting java seeing data structure, I’m seeing chained list .
@Override
is a note, just like everything that starts with@
in Java. And annotations have houses in the case of@Override
, your house is always a method, can’t be an attribute nor a constructor, nor a parameter– Jefferson Quesado