I was provided a .class called Node.class with no .java file.
So now I have another java file called Person that has to make use of this Node. But I get an error which says "The type Node is not generic; it cannot be parameterized with arguments <Person>"
The java file provided to me had an import line of javax.xml.soap.Node; but im thinking i'm not supposed to be importing this node class, but instead the one i was provided? However, I've already placed it in the same package in say, netbeans but still get an error.
E.g. Node<Person> per1 = null; //this line gives the error
Can anyone help me out with this? Thanks!