Author name: Neeraj Mishra

Convert Image to Base64 String or Base64 String to Image in Java

In this tutorial you will learn how to convert or encode image to Base64 string and convert or decode Base64 string to image in Java.   What is Base64? Base64 is a group of similar binary-to-text encoding schemes that represent binary data in an ASCII string format by translating it into a radix-64 representation.   …

Convert Image to Base64 String or Base64 String to Image in Java Read More »

Solve Error “the import org.apache cannot be resolved” in Java

How can you resolve the import org.apache error from your program? Nowadays, when developers are preparing some codes in Java, the common error is import org.apache error takes a lot of time to resolve. This is because of the minor mistake you may do while coding, and no apache library is installed on them. Apache …

Solve Error “the import org.apache cannot be resolved” in Java Read More »

Hill Cipher in Java [Encryption and Decryption]

Here you will learn about hill cipher in java with program and algorithm. To start with the program directly is not a good idea here. Until you don’t have a brief understanding of Hill cipher algorithm, their programs will merely a code to copy paste. As per Wikipedia, Hill cipher is a polygraphic substitution cipher based on linear algebra, …

Hill Cipher in Java [Encryption and Decryption] Read More »

Java Program for Shortest Job First (SJF) Scheduling [Preemptive & Non-Preemptive]

Here you will get java program for shortest job first (sjf) scheduling algorithm, both preemptive and non-preemptive. Shortest job first scheduling algorithm can also be known as shortest job next scheduling. It is very easy to implement and efficient in reducing average response time. Now we will see how it will work with the example …

Java Program for Shortest Job First (SJF) Scheduling [Preemptive & Non-Preemptive] Read More »

Java Program for First Come First Serve (FCFS) Scheduling Algorithm

In this article we are going to learn about first come first serve (fcfs) scheduling in Java with program example. FCFS strategy will be helpful in many situations especially in tie breaking situations. Here we will see FCFS strategy with scheduling problem. First Come First Serve (FCFS) Scheduling First come First serve means whatever the …

Java Program for First Come First Serve (FCFS) Scheduling Algorithm Read More »