Create Spring Boot Application a.Use Spring Tool Suite (STS) to create spring boot application Start New Project b.Add Required Dependency Here we add Actuator ,W…...
we have the string = Java programming is fun and we want to reverse that string in each word wise avaJ gnimmargorp si nuf ,without using any reverse function. /** * @author TechSivam * Reverse the ...
immutable class in java is not allowing to modify the value of the variables. but in normal immutable class with collections , if we are not using setter method also , we can change the collection …...
java.lang.instrument package Provides services that allow Java programming language agents to instrument programs running on the JVM. The mechanism for instrumentation is modification of the byte-c…...
Singleton is very important and familiar design pattern in java it will work very well in single JVM but in application is using multiple JVM, how do we achieve single instance for the object of t...
we can create singleton in different ways depending on the requirement/situation. In Java Singleton Pattern is used to create only one instance of the particular class in the application. Si…...