Java Resources:
Useful Resources:
Link: Java Tutorials
This website is the official Java SE documentation, which provides detailed information about Java classes, methods, and packages. I found this website to be a good introduction (a bit complex but still contains a great place to get started).
Link: W3Schools Tutorial
Great introduction to the language as well. Provides detailed descriptions and explanations for the different aspects of Java. Includes tons of subpages on syntax, output, comments, etc.
Link: Codecademy Java Course
Codecademy offers a free interactive learning environment where you can write Java code directly in your browser. This makes it easy to practice Java.
Link: Java for Beginners - Programming with Mosh
This YouTube video provides a comprehensive introduction to Java programming, which is very useful for someone like me who is a visual learner.
Official Documentation:
Link: W3Schools Documentation
Great documentation site, useful for different aspects of the Java language including keywords and method types.
Code Example:
This program utilizes a Java scanner, which takes user input in order to get their name!
It then greets the user with a simple print statement, and finally prints a short sentence concerning the origins of names.
Lastly, it closes the scanner.
Here we see the output of the Java program! It simply asks for user input, gets my name, then prints a greeting and a short sentence!