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
- 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
Get step-by-step solutions from verified subject matter experts
