Java features version-wise
In this article, we will discuss features introduced in different versions of Java or J2SE or Java SE or JDK Below terms / abbreviation are Read More
In this article, we will discuss features introduced in different versions of Java or J2SE or Java SE or JDK Below terms / abbreviation are Read More
In this article, we will discuss one of the famous interview question on how to swap two numbers without using third/temporary variable Actually, there are Read More
In this article, we will discuss how to convert StringTokenizer tokens into ArrayList Few things to note: StringTokenizer is deprecated now, but however it is Read More
In this article, we will discuss how to merge two arrays and then sort according to natural order i.e.; ascending order. Well, by passing Comparator Read More
In this article, we will discuss how to sort Arrays in both ascending and descending order 1. Sorting Arrays in Ascending order : Passing original/actual Read More
In this article, we will discuss how to sort String[] array with example Arrays class has various sort methods for sorting different primitive data-types and Read More
In this article, we will discuss how to sort long[] array with example 1. long: Size is 8 bytes That’s is 64 bits Its range Read More
In this article, we will discuss how to sort double[] array with example 1. double: Size is 8 bytes That’s is 64 bits Its range Read More
In this article, we will discuss how to sort float[] arrays with example 1. float: Size is 4 bytes that’s is 32 bits Its range Read More
In this article, we will discuss how to sort int[] array with example 1. int Size is 4 bytes That’s is 32 bits Its range Read More
In this article, we will discuss how to sort short[] array with example short: Size is 2 bytes Its range is -32,768 to 32,767 Arrays Read More
In this article, we will discuss how to sort char[] array with example 1. char: Size is 2 bytes Its range is 0 to 65,536 Read More
In this article, we will discuss how to sort byte[] Arrays with example 1. Byte: Size is 1 byte Its range is -128 to 127 Read More
In this article, we will discuss how to sort HashSet in 2 ways. Already, in one of the earlier article we discussed about HashSet sorting Read More
In this article, we will discuss how to reverse a string by word using StringTokenizer class Note: StringTokenizer is deprecated, however it is carried forward Read More
In previous article, we have discussed about StringTokenizer class with various delimiters for splitting a String Next question is, Q) Whether it is possible to Read More
In this article, we will discuss StringTokenizer class in detail and how it helps in splitting String based on various delimiter 1. StringToknizer class : Read More
In this article, we will discuss how to convert first character of every word to uppercase For conversion, we will use either StringTokenizer class split() Read More
In this article, we will discuss difference between capacity() and length() methods of StringBuffer in detail with example Often times, this two methods get confused Read More
In this article, we will discuss how to append newline to StringBuffer There are ways to append newline to StringBuffer or StringBuilder object, we will Read More