Gblog Must Do Coding Questions for Companies like Amazon, Microsoft, Adobe, …
As the placement season is back so are we to help you ace the interview. We have selected some most commonly asked and must do… Read More
December 30, 2020
The Hashtable class implements a hash table, which maps keys to values. Any non-null object can be used as a key or as a value.… Read More
One of the key challenges faced by junior developers is the way to keep Singleton class as Singleton i.e. the way to prevent multiple instances… Read More
In java, the string is a sequence of characters and char is a single digit used to store variables. The char uses 2 bytes in… Read More
Multiplying two corresponding elements implies multiplying the first element of the one list with the first element of another list and so on with the… Read More
Visual Studio Code is the most used code editor amongst developers these days. We know that VSCode provides us with many cool features that could… Read More
A Singleton Class is capable of producing just a single instance. Every Singleton class has a getInstance method which returns its object. When the getInstance… Read More
An array is a collection of items stored at contiguous memory locations. The idea is to store multiple items of the same type together. For… Read More
Data Structures are a boon to everyone who codes. But is there any way to convert a Data Structure into another? Well, it seems that… Read More
Vector in java is a part of Java’s collections framework. Vector is a dynamic array of objects, i.e., the size of the vector can be… Read More
The LinkedHashSet is an ordered version of HashSet that maintains a doubly-linked List across all elements. When the iteration order is needed to be maintained… Read More
The float class is a wrapper class for the primitive type float which contains several methods to effectively deal with a float value like converting… Read More
Transpose of a matrix is obtained by changing rows to columns and columns to rows. In other words, transpose of A[][] is obtained by changing… Read More
Every file which stores a lot of data, also has its own set of data ( known as metadata) which can be used to get… Read More
TreeMap  is a part of Java Collection framework. Java TreeMap contains values based on the key. It implements the NavigableMap interface and extends AbstractMap class.… Read More
The LinkedBlockingDeque class introduced in JDK 1.6 is present in java.util.concurrent package. It is a deque which means a doubly ended queue. The default size… Read More