All Stories

Java - no_image

Enum

In tutorial, no_image, java, Jan 23, 2025

Java - no_image

Casting

In tutorial, no_image, java, Jan 23, 2025

Java - string_pool

String Pool

In tutorial, string_pool, java, Jan 23, 2025

Java - no_image

Synchronized keyword

In tutorial, no_image, java, Jan 23, 2025

Java - no_image

WildcardIn generic code, the question mark ?, called the wildcard, represents an unknown type. The wildcard can be used in a variety of situations: as the type of a parameter, field, ...

In tutorial, no_image, java, Jan 23, 2025

Java - no_image

try-catch-finallyJava try, catch and finally blocks help in writing the application code which may throw exceptions in runtime and gives us a chance to either recover from exceptions ...

In tutorial, no_image, java, Jan 23, 2025

Java - no_image

RecordJDK 14 introduces records, which are a new kind of type declaration. Like an enum, a record is a restricted form of a class. It’s ideal for “plain data carriers,” classes that c...

In tutorial, no_image, java, Jan 23, 2025

Java - no_image

Double check pattern singletonDouble-checked locking of Singleton is a way to ensure only one instance of Singleton class is created through an application life cycle. As the name sug...

In tutorial, no_image, java, Jan 23, 2025

Java - no_image

Default method in interfaceJava 8 allows to define default method in interface. Default methods allow us to add new methods in interface that are automatically available to it’s imple...

In tutorial, no_image, java, Jan 23, 2025