StringTokenizer class in Java is used to break a string into tokens. One must go through StringTokenzier class where concepts and constructors are discussed which… Read More

BitSet class methods in Set 3. / / | | | \ \ and notand flip isEmpty equal get intersect BitSet class methods in Java… Read More

ArrayList and Vectors both implement the List interface, and both use (dynamically resizable) arrays for their internal data structure, much like using an ordinary array. … Read More

Given a string which has some lowercase alphabet characters and one special character dot(.). We need to replace all dots with some alphabet character in… Read More

Given an array of distinct positive integers and a number x, find the number of pairs of integers in the array whose XOR is equal… Read More

A number n is said to be Deficient Number if sum of all the divisors of the number denoted by divisorsSum(n) is less than twice… Read More

First written round on hirepro platform they asked questions on Quants, verbal, logical and technical mcqs mainly c++ and Java, written was medium level not… Read More

An integer number in base 10 which is divisible by the sum of its digits is said to be a Harshad Number. An n-harshad number… Read More

Prerequisites: Image Processing in Java – Read and Write Image Processing In Java – Get and Set Pixels Image Processing in Java – Colored Image… Read More

Given a matrix of order M*N and a value K, the task is to rotate each ring of the matrix anticlockwise by K elements. If… Read More

Given a number n, the task is to find out whether this number is smith or not. A Smith Number is a composite number whose… Read More

Enumerations or popularly known as enum serve the purpose of representing a group of named constants in a programming language. For example, the 4 suits… Read More

There are mainly two ways to extract data from a website: Use the API of the website (if it exists). For example, Facebook has the… Read More

A Kaprekar number is a number whose square when divided into two parts and such that sum of parts is equal to the original number… Read More

XOR Encryption is an encryption method used to encrypt data and is hard to crack by brute-force method, i.e generating random encryption keys to match… Read More