Created
October 2, 2019 21:51
-
-
Save devindianushika/4455d1ca9c306102796e5cdecc8b7507 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.poly.overriding; | |
public class Square implements Shape { | |
@Override | |
public void draw() { | |
System.out.println("Drawing Square"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment