Skip to content

Category Archives: Java

The java.net.Socket class allows us to create socket objects that help us in implementing all fundamental socket operations. We can perform various networking operations such… Read More
ResponseCache in java is used for constructing implementation of URLConnection caches, and it nominates which resource has to be cached and up to what time… Read More
If you are selling any product or providing any service in your android application, then you should have integrated a feature in your android application… Read More
Before java 8 the compiler used to take it from the java.util.* package. But later since the use of date and time became important in… Read More
Independent sets are set of vertices or edges in which the pair of any two vertices or edges are not adjacent to each other. Assuming… Read More
The IdentityHashMap implements Map interface using Hashtable, using reference-equality in place of object-equality when comparing keys (and values). This class is not a general-purpose Map… Read More
Gabow’s Algorithm is a scaling algorithm that aims in solving a problem by initially considering only the highest order bit of each relevant input value… Read More
The size of a data type is given by (name of datatype).SIZE. The maximum value that it can store is given by (Name of data… Read More
The createTempDirectory() method of java.nio.file.Files Class is used to create a new directory using the given prefix and attributes. The given prefix acts as the… Read More
Given a radius of the circle, write a java program to calculate and display the area of the circle. (Take ∏=3.142) Example Input : radius=… Read More
The SecureCacheResponse Class in Java represents a cache response originally retrieved through secure means. Syntax: Class Declaration public abstract class SecureCacheResponse extends CacheResponse The constructor… Read More
Cipher is an algorithm for encryption and decryption. The cipher text is a process that applies to different types of algorithms to convert plain text… Read More
LongBuffer holds a sequence of long values to be used in an I/O operation. The LongBuffer class provides the following four categories of operations upon… Read More
Incremental is actually used in software development where the model is designed, implemented, and tested incrementally (a little more is added each time) until the… Read More
Here, we will implement a Java program to print the square star pattern. We will print the square star pattern with diagonals and without diagonals. … Read More

Start Your Coding Journey Now!