Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. public interface JsonParser
  2. {
  3. public string getJsonValue();
  4. }
  5.  
  6. public class SubTypeA implements JsonParser
  7. {
  8. private BaseType instanceOfBaseType;
  9.  
  10. public SubTypeA(BaseType baseType)
  11. {
  12. instanceOfBaseType = baseType;
  13. }
  14.  
  15. public string getJsonValue()
  16. {
  17. // do whatever you have to do
  18. }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement