Latest

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
Sep
16
Java Records

Java Records

Records allow you to write data classes with very little code.
4 min read
Sep
13
Java Naming Conventions

Java Naming Conventions

Naming conventions used in the Java programming language.
2 min read
Sep
12
Method Overriding vs Method Overloading

Method Overriding vs Method Overloading

Method overriding is used in inheritance, whereas method overloading is to provide multiple methods with the same name.
1 min read
Sep
11
Creating Custom Exceptions in Java

Creating Custom Exceptions in Java

Your own exceptions can be created by extending the Exception class or RuntimeException class.
2 min read