I have class like:
public class Test {
private String Fname;
private String Lname;
private String Age;
// getters, setters, constructor, toString, equals, hashCode, and so on
}
and a list like List<Test> testList filled with Test elements.
How can I get minimum and maximum value of age using Java 8?
What have you tried? Show us some code and a specific error or problem.Streams. You should be able to figure out the rest on your own.