Question: Build an avg () method. Build an avg() method that takes 4 arguments and returns the average of these 4 numbers. Make your method static

  1. Build an avg() method.

Build an avg() method that takes 4 arguments and returns the average of these 4 numbers. Make your method static and call the method from the main(). Call your class AvgClass, and store it in a file called AvgClass.java.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!