In recreational mathematics, a Harshad number (or Niven number) in a given number base, is an integer that is divisible by the sum of its digits when written in that base. Harshad numbers in base n are also known as n-Harshad (or n-Niven) numbers. Harshad numbers were defined by D. R. Kaprekar, a mathematician from […]

Read More →

As a Java developer there are many instances where you find yourself wanting to separate running unit and integration tests. Here is a simple solution to that problem. The following is a more clear writeup of what is given by JUnit Team. Step1: Create a JUnit category. 1 2 3 package com.rushis.test; public interface IntegrationTest […]

Read More →

Ninite application helps you install and update most of your programs at once. The apps are user-requested apps and are added based on their popularity. The following are it’s features. start working as soon as you run it not bother you with any choices or options install apps in their default location say no to […]

Read More →

Java Architecture for XML Binding (JAXB) allows Java developers to map Java classes to XML representations. JAXB provides two main features: the ability to marshal Java objects into XML and, to unmarshal XML back into Java objects. Let’s quickly dive into an example: Here is the xml file <?xml version="1.0"?> <catalog> <book id="bk101"> <author>Gambardella, Matthew</author> […]

Read More →