The best practices deployed by experienced object-oriented software engineers are represented by design patterns. Design patterns are approaches to… Read More
While working on different Java apps, there arises the concept of optimization.
It is essential to maintain the cleanliness of the code, and it also doesn’t have any defects and is… Read More
In the realm of software development, design, and architecture play pivotal roles in creating robust, scalable, and efficient systems. Whether you're an aspiring software engineer, an experi… Read More
All the
Micronaut routing annotations (@Delete, @Get, @Head, @Options, @Patch, @Put,
@Post, @Trace) support multiple URI templates.
Example@Get(uris = { "/{employeeId}", "/by-id/{em… Read More
Quick Summary:
Creational design patterns in Java encompass Singleton, Factory Method, Abstract Factory, Builder, and Prototype. These patterns provide flexible and structured approaches to… Read More
The story of small FixedSizeCollection types in Eclipse CollectionsPhoto by Edward Howell on UnsplashSometimes, You’re on Your OwnEvery once in a while, we are required as ap… Read More
Design patterns are a set of best practices that have been developed over time to solve common problems in software development. They provide a way to solve problems that are often encounter… Read More
In Java 5 many concurrent collection classes are added as a thread safe alternative for their normal collection counterparts which are not thread safe. Like ConcurrentHashMap as a thread sa… Read More
Writing a Java program to reverse a string using a recursive method or using iteration is one Java interview coding question asked quite frequently along with some other popular questions l… Read More
Complete HackerRank Java Programming SolutionHello Coders! In this post, you will find each and every solution to HackerRank Java Problems. After going through the solutions to these python… Read More
Introduction to Kotlin Empty List
Kotlin empty list is a generic ordered collection element. It contains two types of lists, i.e., mutable and immutable. The read-only list is created by us… Read More
The most important aspect of developing an Android app is its performance. Users are likely to reject your application if it is slow. The better your app performs, the more likely it is to s… Read More
In this post you will know 22 most asked core java interview Questions and answers for java developers who are having 1 to 4 years of experienced.When you are attending for Java interv… Read More
Approach 1: Generate a random number between 0 and size of set and return the element by iterating random number of times.public static T getRandomItem_approach1(Set set) {if (set == null ||… Read More
What is Scala?Scala is a type-safe JVM language that incorporates both object oriented and functional programming into an extremely concise, logical, and extraordinarily powerful language.Sc… Read More
Explain the creation of a thread-safe singleton in Java using double-checks locking
Singleton is made with double checked rushing as before Java 5 acts as an broker and it’s been poss… Read More
This is a simple example of how to use Google Guice , with Jersey to create JAX-RS web services , which can be deployed to any servlet container like Tomcat , Jboss , GlassFish etc . We will… Read More
What are design patterns?Design patterns are documented tried and tested solutions for recurring problems in a given context. So basicallyyou have a problem context and the proposed solution… Read More
In the previous part Android Integrating PayPal using PHP, MySQL – Part 1, we have covered building the PayPal server side part i.e creating mysql database and writing the PHP servic… Read More