#Core Java

The core language and standard library.

12 notes tagged

Java

Dynamic Proxies in Java

A dynamic proxy implements an interface at runtime and routes every call through one handler, which is how cross cutting behaviour is added.

Read more
Java

Reflection in Java

Reflection inspects and manipulates classes at runtime. It powers most frameworks and should be rare in application code.

Read more
Java

Records in Java

A record declares an immutable data carrier, and the compiler generates the constructor, accessors, equals, hashCode and toString.

Read more
Java

Enums in Java

An enum is a class with a fixed set of instances, which makes an invalid value impossible rather than merely unlikely.

Read more