write a program in Java that wil open a file, save 5 integers andwhen you read it it prints the max, sum and average of 5 numbers .thank you!
Expert Answer
Answer to write a program in Java that wil open a file, save 5 integers and when you read it it prints the max, sum and average of…