Commit c03cab9e by Patryk Czarnik

min max w sortowaniu

parent 8a875f09
......@@ -15,6 +15,10 @@ public class P7_Sortowanie {
for(Employee emp : emps) {
System.out.println(emp);
}
System.out.println();
System.out.println("Najbiednieszy: " + emps.getFirst());
System.out.println("Najbogatszy: " + emps.getLast());
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment