Latest

Sep
30
Anonymous Classes in Java

Anonymous Classes in Java

Anonymous classes are unnamed implementations of a class.
3 min read
Sep
27
Sealed Classes in Java

Sealed Classes in Java

Sealed classes and interfaces allow you to restrict who can extend or implement them.
4 min read
Sep
26
Exceptions vs Errors in Java

Exceptions vs Errors in Java

Exceptions are programming errors or recoverable errors, whereas an Error is something that isn't recoverable.
1 min read
Sep
25
Exception Handling in Java

Exception Handling in Java

Exceptions in code are either thrown or caught and handled.
3 min read
Sep
24
Functional Interfaces in Java

Functional Interfaces in Java

Functional interfaces are single abstract method interfaces used for lambda expressions.
2 min read
Sep
23
Marker Interfaces in Java

Marker Interfaces in Java

A way to mark a class to provide additional information and behavior.
1 min read
Sep
20
Static and Default Methods in Java Interfaces

Static and Default Methods in Java Interfaces

Default and static methods allow you to have utility methods or default implementations.
2 min read
Sep
19
Constants in Java Interfaces

Constants in Java Interfaces

How to properly define and use constants in interfaces
2 min read
Sep
18
Java Interfaces

Java Interfaces

Interfaces provide a contract that a class must implement.
2 min read
Sep
17
Java Static Initializers

Java Static Initializers

Static initializers are blocks of code that can be used to assign values to class variables and constants.
2 min read