Solved Excercises Consider Following Java Program Snipped

Solved Excercises Consider Following Java Program Snipped