Advertisement
sergAccount

Untitled

Dec 19th, 2020
571
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.48 KB | None | 0 0
  1. /*
  2.  * To change this license header, choose License Headers in Project Properties.
  3.  * To change this template file, choose Tools | Templates
  4.  * and open the template in the editor.
  5.  */
  6. package ja11;
  7.  
  8. /**
  9.  *
  10.  * @author Administrator
  11.  */
  12. public class MathUtil {    
  13.     // статический метод для вычисления площади прямоугольника
  14.     public static double calcRectArea(double a, double b){
  15.         return (a * b);
  16.     }    
  17. }
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement