0
I got this unwanted message
Java uses unchecked or unsafe operations. When i compile this code in my laptop. Which line is causing this message. And how to remove it. https://code.sololearn.com/c58mwd4bCcdd/?ref=app
5 ответов
+ 1
same as Coder Kitten:
public static Set<Object> join(Set<Cat> cats, Set<Dog> dogs) {
//HashSet pets = new HashSet();
HashSet<Object> pets = new HashSet<>();
0
Coder Kitten can you teach me how to edit?
- 1
Let me check it
- 1
Looks legit
- 1
Yeah I dunno if it's a bug or you did it wrong