Home » #javaCoding

#javaCoding

Java 17: A Brief Overview of Features and Enhancements

Java 17 LTS is the latest release providing long-term support for the Java SE platform. According to the Oracle No-Fee Terms and Conditions License, JDK 17 binaries are permissible for use in production and can be redistributed without any associated costs. The abbreviation “LTS” denotes “long-term support,” and this release is slated for availability on […]

Java 17: A Brief Overview of Features and Enhancements Read More »

Spring Data JPA

Spring Data JPA is a powerful and user-friendly framework that simplifies data access and persistence in Java applications using the Java Persistence API (JPA). It is part of the larger Spring Data family, which aims to provide consistent data access solutions across various data stores. What is ORM? ORM stands for Object-Relational Mapping. It is

Spring Data JPA Read More »

Lock Interface

The lock interface is one of the most used interfaces in Java. Lock interface is available in the Java.util.concurrent.locks package which we use as a thread synchronization mechanism, i.e., similar to synchronized blocks. It is more flexible and provides more options in comparison to the synchronized block. It allows us to gain the benefit of fine-grained locking without having

Lock Interface Read More »

Java Executor Framework

Java concurrency API includes the executor framework since java  5 to improve the performance of concurrent applications with a lot of concurrent tasks. It is a mechanism that allows you to separate thread creation and management for the implementation of concurrent tasks. You don’t have to worry about the creation and management of threads, only

Java Executor Framework Read More »

Synchronization in Java

Synchronization is the coordination of two or more tasks to get the desired results. We have two kinds of synchronization: synchronization helps you avoid some errors you can have with concurrent tasks but it introduces some overhead. You have to calculate very carefully the number of tasks, which can be performed independently without intercommunication in

Synchronization in Java Read More »

MultiThreading

When we create an application, we write lines of code and logic is also correct. But still we wonder that our application is not upto the mark. One important factor that plays a vital role in any application development is its Performance.However the performance of an app is not only related to the number of

MultiThreading Read More »

Core Java

21. What is Super in java?Super is a keyword that is used to access the method or member variables from the superclass. If a method hides one of the member variables in its superclass, the method can refer to the hidden variable through the use of the super keyword. In the same way, if a

Core Java Read More »

Core Java

11. What is Encapsulation?It is a technique used for hiding the properties and behaviors of an object and allowing outside access only as appropriate. It prevents other objects from directly altering or accessing the properties or methods of the encapsulated object. We can make the fields as private or protected and let them to be

Core Java Read More »

Scroll to Top