I'm new to Java and I'm coding just for fun, and I'm wondering about this.
Set<Employee> employees1 = new HashSet<Employee>();
HashSet<Employee> employees2 = new HashSet<Employee>();
Is there any difference in those two declarations ? I mean like " behind the scenes " ? I was looking for similar problem here, but I didn't find anything maybe because I don't know how to interpret the question in search field.