java create a driver file that include two static methods numberofdigits and gcd and follow the pdf file 1

Hi

If you have any doubts regarding the ques in Pdf File. Message me Anytime.

This is an Easy Program of Java as Algorithm is Given in pdf File Attached

Requirements are as followed –

** use the following libraries if needed**

import java.beans.XMLDecoder;

import java.io.FileInputStream;

import java.io.IOException;

import java.util.ArrayList;

import java.util.Comparator;

import java.io.DataOutputStream;

import java.io.Serializable;

use readObject() and writeObject Methods from library is needed