Skip to content

Category Archives: Java

As we all know, while solving any CP problems, the very first step is collecting input or reading input. A common mistake we all make… Read More
Selenium is an open-source tool for automating testing of web applications which is free and it supports various programming languages such as C#, Java, Perl,… Read More
Multithreading is a Java feature that allows concurrent execution of two or more parts of a program for maximum utilization of CPU. Each part of… Read More
Whenever we are writing our classes, we have to provide some information about our classes to the JVM like whether this class can be accessed… Read More
Spring Boot is built on the top of the spring and contains all the features of spring. And is becoming a favorite of developers these… Read More
In Java, there are four types of access modifiers. These are public, private, default, and protected. To get the idea of these modifiers, you can… Read More
ReentrantReadWriteLock class of Java is an implementation of ReadWriteLock, that also supports ReentrantLock functionality. The ReadWriteLock is a pair of associated locks, one for read-only… Read More
Streaming API for XML added in Java 6 provides a handy interface XMLStreamWriter which is used for writing XML documents. this API does not require… Read More
SocketException is a subclass of IOException so it’s a checked exception. It is the most general exception that signals a problem when trying to open… Read More
The occurs when an unsupported character encoding scheme is used in java strings or bytes. The java String getBytes method converts the requested string… Read More
The RMISecurityManager enforces the security policy for classes that are loaded as stubs for remote objects, by overriding all of the relevant access-check methods from… Read More
Java makes it possible to add images to Word documents using the addPicture() method of XWPFRun class provided by Apache POI package. Apache POI is… Read More
If you haven’t been stung by the below-mentioned exception when running a Java program created by you on your system that connects to an SSL… Read More
Getter and Setter are methods used to protect your data and make your code more secure. Getter returns the value (accessors), it returns the value… Read More
Java provides a mechanism to handle exceptions. To learn about exception handling, you can refer to exceptions in java. In this article, we discuss exception… Read More