Advertisement
sergAccount

Untitled

Sep 27th, 2020 (edited)
997
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.41 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 myapp9;
  7.  
  8. public class MathUtil {
  9.    
  10.     // метод вычисляет площадь прямоугольника
  11.     public static double rectArea(double a, double b){
  12.         return a * b;
  13.     }    
  14. }
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement