sergAccount

Untitled

Dec 13th, 2020
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.46 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 com.mycompany.ja9;
  7.  
  8. /**
  9.  *
  10.  * @author Admin
  11.  */
  12. public class Circle implements MyShape{
  13.  
  14.     @Override
  15.     public void draw() {
  16.         System.out.println("Circle.draw");
  17.     }
  18.     @Override
  19.     public String getName() {
  20.         return "Circle";
  21.     }    
  22. }
  23.  
Add Comment
Please, Sign In to add comment