I am tring to create a new variable of type Node (which I created myself; it's an object), and I am trying to pass it the lastElement() of the Vector, which contains only Node elements.
(i.e. Node temp = (Node) vectorObject.lastElement();)
However, it simply throws an exception...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.