Advertisement
sergAccount

Untitled

Nov 29th, 2020
519
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.39 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 javaapp10;
  7.  
  8. public class Rectangle implements IShape{
  9.  
  10.     @Override
  11.     public int getX() {
  12.         return 0;
  13.     }
  14.     @Override
  15.     public int getY() {
  16.         return 0;
  17.     }    
  18. }
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement