current community
chat
Stack Overflow
Meta Stack Overflow
your communities
Sign up
or
log in
to customize your list.
more stack exchange communities
company blog
Stack Exchange
Inbox
Reputation and Badges
sign up
log in
tour
help
Tour
Start here for a quick overview of the site
Help Center
Detailed answers to any questions you might have
Meta
Discuss the workings and policies of this site
About Us
Learn more about Stack Overflow the company
Business
Learn more about hiring developers or posting ads with us
Stack Overflow
Questions
Jobs
Documentation
Tags
Users
Badges
Ask Question
Java Language
dashboard
all topics
Popular
Topic
You must
sign up
or
log in
to make a topic request.
153 Topics
16
requests
active
popular
Getting started with Java Language
Introduction Topic
278
Creating your first Java program
0 improvement requests
0 proposed changes
edited
13 hours ago
+24
Arrays
All Versions
810
Creating and Initializing Arrays
123
Creating a List from an Array
16 more examples
0 improvement requests
0 proposed changes
edited
Jan 25 at 11:42
+219
Streams
Java SE 8–Java SE 9 (Early Access)
210
Using Streams
57
Consuming Streams
25 more examples
0 improvement requests
0 proposed changes
edited
3 hours ago
+95
Lambda Expressions
Java SE 8–Java SE 9 (Early Access)
117
Introduction to Java lambdas
64
Using Lambda Expressions to Sort a Collection
10 more examples
0 improvement requests
0 proposed changes
edited
Jan 22 at 17:27
+50
Strings
All Versions
100
Comparing Strings
23
Changing the case of characters within a String
15 more examples
0 improvement requests
0 proposed changes
edited
Dec 23 '16 at 3:35
+128
Enums
Java SE 5–Java SE 9 (Early Access)
53
Declaring and using a basic enum
31
Enums with constructors
15 more examples
0 improvement requests
0 proposed changes
edited
Dec 29 '16 at 9:22
+53
Generics
Java SE 5–Java SE 9 (Early Access)
53
Creating a Generic Class
29
The Diamond
12 more examples
0 improvement requests
0 proposed changes
edited
Jan 2 at 20:05
+51
Exceptions and exception handling
All Versions
43
Catching an exception with try-catch
18
The try-with-resources statement
10 more examples
0 improvement requests
0 proposed changes
edited
Jan 22 at 17:27
+54
Optional
Java SE 8–Java SE 9 (Early Access)
33
Map
32
Null-safe chaining
7 more examples
1 improvement request
0 proposed changes
edited
Jan 23 at 9:49
+25
Oracle Official Code Standard
All Versions
25
Naming Conventions
12
Class Structure
16 more examples
0 improvement requests
0 proposed changes
edited
Jan 2 at 20:48
+17
Java Pitfalls
All Versions
25
Pitfall: using == to compare primitive wrappers objects such as Integer
13
Pitfall: forgetting to free resources
7 more examples
0 improvement requests
0 proposed changes
edited
Jan 7 at 3:12
+17
Collections
Java SE 1.2–Java SE 9 (Early Access)
31
Removing items from a List within a loop
10
Declaring an ArrayList and adding objects
14 more examples
0 improvement requests
0 proposed changes
edited
Dec 22 '16 at 21:20
+50
Primitive Data Types
All Versions
13
The char primitive
8
The float primitive
10 more examples
0 improvement requests
0 proposed changes
edited
Jan 4 at 13:19
+43
Documenting Java Code
All Versions
18
Class Documentation
13
Method Documentation
6 more examples
0 improvement requests
0 proposed changes
edited
Jan 3 at 8:54
+14
Installing Java (Standard Edition)
All Versions
39
Setting %PATH% and %JAVA_HOME% after installing on Windows
7
Installing a Java JDK on Linux
10 more examples
0 improvement requests
0 proposed changes
edited
Jan 2 at 21:49
+6
Interfaces
All Versions
16
Implementing multiple interfaces
9
Declaring and Implementing an Interface
8 more examples
0 improvement requests
0 proposed changes
edited
Jan 7 at 22:35
+31
Singletons
All Versions
20
Enum Singleton
15
Singleton without use of Enum (eager initialization)
2 more examples
0 improvement requests
0 proposed changes
edited
Dec 10 '16 at 16:08
+28
Inheritance
All Versions
18
Abstract Classes
10
Using 'final' to restrict inheritance and overriding
9 more examples
0 improvement requests
0 proposed changes
edited
Jan 18 at 8:14
+42
Object Class Methods and Constructor
All Versions
22
hashCode() method
11
toString() method
6 more examples
0 improvement requests
0 proposed changes
edited
Jan 2 at 22:41
+35
Operators
All Versions
13
Increment/Decrement Operators (++/--)
10
Conditional Operator (? :)
9 more examples
0 improvement requests
0 proposed changes
edited
Jan 26 at 11:02
+49
1
2
3
4
5
…
8
next
Introduction Topic
Getting started with Java Language
Creating your first Java program
Stack Overflow works best with JavaScript enabled