You are on page 1of 1

JAVA CODE:

There are no errors in the java code ;


It will print required output;

You might also like