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.
155 Topics
17
requests
active
popular
Getting started with Java Language
Introduction Topic
239
Creating your first Java program
0 improvement requests
0 proposed changes
edited
Dec 4 at 2:22
+23
Arrays
All Versions
790
Creating and Initializing Arrays
121
Creating a List from an Array
16 more examples
0 improvement requests
0 proposed changes
edited
Dec 22 at 10:13
+214
Streams
Java SE 8–Java SE 9 (Early Access)
208
Using Streams
57
Consuming Streams
25 more examples
0 improvement requests
0 proposed changes
edited
Dec 12 at 12:24
+91
Lambda Expressions
Java SE 8–Java SE 9 (Early Access)
108
Introduction to Java lambdas
63
Using Lambda Expressions to Sort a Collection
10 more examples
0 improvement requests
0 proposed changes
edited
Dec 1 at 15:29
+50
Strings
All Versions
97
Comparing Strings
22
Changing the case of characters within a String
15 more examples
0 improvement requests
0 proposed changes
edited
2 days ago
+128
Enums
Java SE 5–Java SE 9 (Early Access)
51
Declaring and using a basic enum
30
Enums with constructors
15 more examples
0 improvement requests
0 proposed changes
edited
Dec 9 at 20:36
+52
Generics
Java SE 5–Java SE 9 (Early Access)
52
Creating a Generic Class
28
The Diamond
12 more examples
0 improvement requests
0 proposed changes
edited
Dec 19 at 0:10
+50
Exceptions and exception handling
All Versions
43
Catching an exception with try-catch
16
Custom Exceptions
10 more examples
0 improvement requests
0 proposed changes
edited
Dec 9 at 20:35
+53
Optional
Java SE 8–Java SE 9 (Early Access)
33
Map
29
Null-safe chaining
7 more examples
1 improvement request
0 proposed changes
edited
Dec 19 at 8:49
+22
Primitive Data Types
All Versions
13
The char primitive
8
The float primitive
10 more examples
0 improvement requests
0 proposed changes
edited
Dec 19 at 6:20
+40
Oracle Official Code Standard
All Versions
24
Naming Conventions
12
Class Structure
16 more examples
0 improvement requests
0 proposed changes
edited
Oct 31 at 17:36
+16
Java Pitfalls
All Versions
22
Pitfall: using == to compare primitive wrappers objects such as Integer
12
Pitfall: using == to compare strings
6 more examples
0 improvement requests
0 proposed changes
edited
2 days ago
+17
Collections
Java SE 1.2–Java SE 9 (Early Access)
30
Removing items from a List within a loop
9
Constructing collections from existing data
14 more examples
0 improvement requests
0 proposed changes
edited
2 days ago
+50
Documenting Java Code
All Versions
17
Class Documentation
12
Method Documentation
6 more examples
0 improvement requests
0 proposed changes
edited
Sep 21 at 16:33
+12
Installing Java (Standard Edition)
All Versions
37
Setting %PATH% and %JAVA_HOME% after installing on Windows
5
Installing a Java JDK on Linux
10 more examples
0 improvement requests
0 proposed changes
edited
yesterday
+4
Singletons
All Versions
19
Enum Singleton
14
Singleton without use of Enum (eager initialization)
2 more examples
0 improvement requests
0 proposed changes
edited
Dec 10 at 16:08
+28
Interfaces
All Versions
15
Implementing multiple interfaces
7
Declaring and Implementing an interface
8 more examples
0 improvement requests
0 proposed changes
edited
12 hours ago
+28
Inheritance
All Versions
18
Abstract Classes
9
Using 'final' to restrict inheritance and overriding
9 more examples
1 improvement request
0 proposed changes
edited
Dec 10 at 20:18
+41
Operators
All Versions
13
Increment/Decrement Operators (++/--)
10
Conditional Operator (? :)
9 more examples
0 improvement requests
0 proposed changes
edited
Dec 16 at 0:32
+47
Object Class Methods and Constructor
All Versions
20
hashCode() method
9
toString() method
6 more examples
0 improvement requests
0 proposed changes
edited
Dec 3 at 16:31
+34
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