#How do I add these methods in my file so I can use them via import or package.Class
1 messages · Page 1 of 1 (latest)
well and what is your question?
Your package declaration is invalid. Please don't call it .java
just use these classes now if you want to
And you can use the import keyword for files.
Look so I have some methods about sll and dll nodes from my uni and I want to use them so I can mess arround with the methods to learn them better. The problem that I am facing is that I cant implement those methods or the classes.
Have the methods in these files
Watched some youtube tutorials about how to do it but its not working for me, clearly I am doing something wrong.
^
Now made a new project, so what do I do?
drag the files into your project, under the src folder
The file does not have error, only when I try to implement it
not sure, seems like your project may not be set up properly with the JDK
Create a new project from scratch, select maven, select the proper JDK version and enter the project name you want.
Then add those files in src/main/java (and whatever package structure you set up).
(Lost my internet connection sorry for the delay)
Here is my new fresh project
@desert spear I need a hand sorry for tag