Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find the Java features list

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"

like image 638
OscarRyz Avatar asked Jan 22 '23 12:01

OscarRyz


1 Answers

You have the Java Language Specification.

like image 99
Desintegr Avatar answered Jan 25 '23 02:01

Desintegr