Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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