Home » Archives for Rohit Joshi

Author Archives: Rohit Joshi

Rohit Joshi works as a Software Engineer in the Consumer Product Sector. He is a Sun Certified Java Programmer. He had worked in projects related to different domains. He is also involved in system analysis and system designing. He mainly works in Core Java and J2EE technologies but also have good experience in front-end technologies like Javascript and Jquery.

Merge Sort Java algorithm – Code Example

In this article, we will discuss about the Merge Sort Java algorithm, which is much more efficient than some of the other sorting algorithms. Generally, a sorting algorithm is an algorithm that puts elements of a list in a certain order. The most frequently used orders are numerical order and lexicographical order. Efficient sorting is important for optimizing the efficiency of other algorithms (such as search and merge algorithms) that require input data to be in sorted lists. ...

Read More »

Bubble Sort Java algorithm – Code Example

The Bubble sort algorithm in Java is one of the simplest sorting algorithms. In this article, we will talk about its function and its implementation in Java. The Bubble sort algorithm sometimes is referred as sinking sort, works as continuously iterating and swapping the items adjacent to each other in an array. We will first discuss the Java Bubble sort ...

Read More »

Quicksort Java algorithm – Code Example

In this article, we will discuss the implementation of Quicksort Java algorithm. Quicksort is the most widely used sorting algorithm. Quick sort is faster than most other common sorting algorithms. It was developed by the famous Computer Scientist Tony Hoare and it is based on the Divide and Conquer Algorithm. First, we are going to explain how Quick sort works on an ...

Read More »

java.util.logging Example

In this article, we will discuss about the logging functionality in Java. Logging in simple words refers to the recording of an application activity. Logging is used to store exceptions, information, and warnings as messages that occur during the execution of a program. Logging helps a programmer in the debugging process of a program. Java provides logging facility in the java.util.logging ...

Read More »

java.util.Locale Example

In this article we will discuss about the Locale class from java.util package. The Locale is used to make the system relevant and usable for the users from different cultures. In other words, it is used to customize the system for different people of different region, culture and language. A Locale object represents a specific geographical, political, or cultural region. ...

Read More »

java.util.Collections Example

In this article we will discuss about the Collections class and some of its important methods. The class java.util.Collections is a utility class that resides in java.util package, it consists entirely of static methods which are used to operate on collections like List, Set. Common operations like sorting a List or finding an element from a List can easily be done ...

Read More »