Write a program in Java to find second maximum of n numbers without using arrays on December 02, 2021