Created
November 29, 2016 17:20
-
-
Save daveRanjan/ed002e29803903e9f34dc7d5372eb2c5 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
class Barfi implements Eatable { | |
// In most of the cases :P | |
public String shape = "Rectangle" | |
} | |
public class TestRunner { | |
public static void main(String[] args){ | |
Barfi chotaBarfi = new Barfi(); | |
// This should print | |
// Ye Ye this tastes great | |
chotaBarfi.taste(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment