Programming languages
Java
A class-based, object-oriented programming language designed for portability across platforms, commonly used for building enterprise-scale applications.
- Created by
- James Gosling
- First appeared
- 1995
- Official resource
- Visit the main website
Your first program
Hello, World!
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
Keep learning
Where to go from here
Use trusted documentation for facts and an AI tutor for personalized explanations.
Official resource
Learn from the source
Continue with the language’s official documentation, project, or standards site.
Open official resourcePersonalize it
Ask your AI tutor
Use a focused prompt covering strengths, tradeoffs, setup, and this first program.
Teach me the basics of Java. Use https://code.study/java as the starting point. Explain what Java is best suited for, when I should not choose it, how to install or try it, and then walk me through its Hello World example step by step.
Content reviewed August 2026 · Start with primary sources and verify version-specific details.