- Implementation of the CompareTo() method of the IComparable interface;
- Override the toString() method of the class Object;
- Сreating an array of objects belonging to the described class (square), object data is determined randomly;
- Implementation of the search for objects that meet 2 search criteria (searching coordinates coordinates with values 0; searching minimum side). With the saving of the result to a file;
- Implementation of calculating the average value for one of the object fields.
yuliyaklimava/lab2
Extension of lab 1 with methods CompareTo(), ToString(), overloading operations and methods, array of objects, etc.
Java