Examples

  1. Abstract class
  2. Additive operator with long and int operands
  3. Annotation
  4. Anonymous class
  5. Assert statement
  6. Autoboxing
  7. Cast object reference
  8. Class
  9. Constructor body
  10. Enhanced for and arrays
  11. Enumeration
  12. Enumeration without constants
  13. Generic
  14. Initialization of local variable
  15. Instance initializer
  16. Instanceof
  17. Interface
  18. Interface methods are abstract
  19. Interface with default method
  20. Keyword super
  21. Local class
  22. Loop enumeration
  23. Method reference
  24. Multi catch exceptions
  25. Multidimensional array
  26. Multiplicative operators
  27. Numeric promotion
  28. Numerical operators
  29. Outer inner nested local
  30. Pattern matching for instanceof
  31. Pattern matching for switch
  32. Record
  33. Runtime visible type annotations
  34. Scope of a declaration
  35. Sealed class
  36. Static initializer
  37. String concatenation
  38. Switch statement with enumeration
  39. Switch statement with string
  40. Synchronized
  41. Ternary operator
  42. Text blocks
  43. Throw a new exception
  44. Try catch
  45. Try catch finally
  46. Try with resource
  47. Try with resources
  48. Var args
  49. Volatile
  50. While and do while
Main page