If your question isn't here, ask me on Discord .
Question: Does this course cover List
and Map
?
Yes
Question: Where are the "resources" for a lesson?
Question: Why do I get File Not Found
when running code?
If you encounter the File Not Found
error, please see:
Question: How to avoid .\
during autocomplete (Windows)?
Try the Command Prompt.
Question: Why is clear
showing command not found
?
If you're using the command prompt, enter cls
instead.
No questions yet!
No questions yet!
No questions yet!
No questions yet!
Question: Is the reference a "pointer"?
No, Java restricts programmers from interfacing with pointers. Pointers exist behind the scenes and Java uses them to manage references, but you don't have to worry about them.
Question: Can I call setters from the constructor to update fields?
Yes
Question: When can something be null
?
When it's non-primitive (i.e class type).
Question: Why are checked exceptions called compile-time exceptions?
Java forces you to catch
checked exceptions during compile time.
Question: Why are unchecked exceptions called runtime exceptions?
Java ignores them during compile time. They can crash the app during runtime.
Question: Unit testing is not working in Visual Studio Code.
Inside Visual Studio Code, open settings.json (CMD/Ctrl + shift + P)
Add a comma after the last entry in your JSON file
After the comma, add the snippet from the video.
Windows users, the path you put in V.S code should have forward slashes ( /
)!!
Question: The Tic Tac Toe challenge is really hard. How should I proceed?
I understand it may be overwhelming, but difficult tasks reflect what you can expect in the real world. Most courses will just show you how to code something, but I want you to practice problem-solving with code. If you find the task to be too hard, my recommendation is to start by looking at the solution, run it, and slowly delete different parts of the code until you can isolate what each thing does. Then, once you have an idea of how it works, start fresh and try to incrementally solve it yourself. Most importantly, take your time!