This may be super easy to solve but I can’t find the correct “google search term” and I’ve got tons of pages and none with the answer I’m looking for.
Does anyone knows or has a list of the available features of java as a language?
For instance.
-
Define classes:
class Employee { } -
Define attributes
private String name; -
Methods:
public void hello() { } -
Class methods
public static void main(){} -
Generics
private List<String> = .... - Statements
- Assignments
- Declarations
- Inner classes
- operators
- control flow
- etc.
- etc.
- etc.
I’m looking something more like a cheat-sheet than a full tutorial. I know most of these features, but sometimes I would like to have something at hand where I can look at and say: “Oh yes, this is the way ternary operator is used in java”
You have the Java Language Specification.